mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: nextpnr-ice40. Rename to nextpnr an deprecate it.
* gnu/packages/fpga.scm (nextpnr-ice40): Rename to... (nextpnr): ... this. [configure-flage]: Add 'generic' to -DARCH flag. [inputs]: Add corrosion. (nextpnr-ice40): Define as a deprecated alias of nextpnr. Change-Id: Ic3476a6a4220ec20191897a6efb3d4aa347b51c2 Co-authored-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
parent
221899c202
commit
77802617c3
1 changed files with 9 additions and 3 deletions
|
@ -12,6 +12,7 @@
|
||||||
;;; Copyright © 2024 Jakob Kirsch <jakob.kirsch@web.de>
|
;;; Copyright © 2024 Jakob Kirsch <jakob.kirsch@web.de>
|
||||||
;;; Copyright © 2025 Zheng Junjie <873216071@qq.com>
|
;;; Copyright © 2025 Zheng Junjie <873216071@qq.com>
|
||||||
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
|
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
|
||||||
|
;;; Copyright © 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix deprecation)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
|
@ -356,9 +358,9 @@ Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstr
|
||||||
files.")
|
files.")
|
||||||
(license license:isc))))
|
(license license:isc))))
|
||||||
|
|
||||||
(define-public nextpnr-ice40
|
(define-public nextpnr
|
||||||
(package
|
(package
|
||||||
(name "nextpnr-ice40")
|
(name "nextpnr")
|
||||||
(version "0.8")
|
(version "0.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -406,7 +408,7 @@ files.")
|
||||||
(list
|
(list
|
||||||
#:cmake cmake ;CMake 3.25 or higher is required.
|
#:cmake cmake ;CMake 3.25 or higher is required.
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "-DARCH=ice40"
|
#~(list "-DARCH=generic;ice40" ;TODO: enable more architectures?
|
||||||
"-DBUILD_GUI=ON"
|
"-DBUILD_GUI=ON"
|
||||||
"-DUSE_OPENMP=ON"
|
"-DUSE_OPENMP=ON"
|
||||||
"-DBUILD_TESTS=ON"
|
"-DBUILD_TESTS=ON"
|
||||||
|
@ -431,6 +433,7 @@ files.")
|
||||||
sanitizers-cmake))
|
sanitizers-cmake))
|
||||||
(inputs
|
(inputs
|
||||||
(list boost
|
(list boost
|
||||||
|
corrosion
|
||||||
eigen
|
eigen
|
||||||
icestorm
|
icestorm
|
||||||
pybind11
|
pybind11
|
||||||
|
@ -444,6 +447,9 @@ files.")
|
||||||
(home-page "https://github.com/YosysHQ/nextpnr/")
|
(home-page "https://github.com/YosysHQ/nextpnr/")
|
||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
|
(define-public nextpnr-ice40
|
||||||
|
(deprecated-package "nextpnr-ice40" nextpnr))
|
||||||
|
|
||||||
(define-public gtkwave
|
(define-public gtkwave
|
||||||
(package
|
(package
|
||||||
(name "gtkwave")
|
(name "gtkwave")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue