git: 017ebc5f1c79 - main - devel/nextpnr: Update to 0.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Mar 2026 17:00:55 UTC
The branch main has been updated by jbo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=017ebc5f1c79dd3abc3535c5e368adbe59c7feac
commit 017ebc5f1c79dd3abc3535c5e368adbe59c7feac
Author: Joel Bodenmann <jbo@FreeBSD.org>
AuthorDate: 2026-03-13 16:56:14 +0000
Commit: Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2026-03-13 17:00:28 +0000
devel/nextpnr: Update to 0.10
Changelog: https://github.com/YosysHQ/nextpnr/releases/tag/nextpnr-0.10
While here, also enable the himbaechel architecture as well as adding
support for the GateMate micro-architecture via prjpeppercorn.
---
devel/nextpnr/Makefile | 25 ++++++++++++-------------
devel/nextpnr/distinfo | 6 +++---
devel/nextpnr/files/patch-bba_CMakeLists.txt | 10 +++++-----
devel/nextpnr/pkg-descr | 5 +++--
devel/nextpnr/pkg-plist | 5 +++++
5 files changed, 28 insertions(+), 23 deletions(-)
diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile
index 01ec027fff6d..b6207252dc44 100644
--- a/devel/nextpnr/Makefile
+++ b/devel/nextpnr/Makefile
@@ -1,7 +1,6 @@
PORTNAME= nextpnr
DISTVERSIONPREFIX= ${PORTNAME}-
-DISTVERSION= 0.9
-PORTREVISION= 4
+DISTVERSION= 0.10
PORTEPOCH= 1
CATEGORIES= devel
@@ -16,27 +15,27 @@ NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON= clang segfault
BUILD_DEPENDS= ${LOCALBASE}/share/trellis/database:devel/trellis \
- ${LOCALBASE}/share/icebox:devel/icestorm
+ ${LOCALBASE}/share/icebox:devel/icestorm \
+ ${LOCALBASE}/share/prjpeppercorn:devel/prjpeppercorn112
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
- libboost_filesystem.so:devel/boost-libs \
- libboost_program_options.so:devel/boost-libs \
- ${PY_BOOST}
+ libboost_program_options.so:devel/boost-libs
-USES= compiler:c++17-lang cmake llvm:min=20 qt:5 eigen:3 python gl
-USE_QT= buildtools:build core gui opengl qmake:build widgets
-USE_GL= gl glu
+USES= compiler:c++17-lang cmake llvm:min=20 qt:6 eigen:3 python
+USE_QT= base
USE_GITHUB= yes
GH_ACCOUNT= YosysHQ
GH_TUPLE= YosysHQ:nextpnr-tests:ce15412:tests/tests
+CONFLICTS_INSTALL= nextpnr-devel
+
BINARY_ALIAS= python3=${PYTHON_CMD}
-CMAKE_ARGS= -DARCH="ice40;ecp5" -DTRELLIS_ROOT=${LOCALBASE}/share/trellis/
+CMAKE_ARGS= -DARCH="ice40;ecp5;himbaechel" \
+ -DHIMBAECHEL_UARCH="gatemate" \
+ -DHIMBAECHEL_PEPPERCORN_PATH=${LOCALBASE}/share/prjpeppercorn \
+ -DTRELLIS_ROOT=${LOCALBASE}/share/trellis/
CMAKE_ON= BUILD_GUI
-PLIST_FILES= bin/nextpnr-ecp5 \
- bin/nextpnr-ice40
-
# Don't create __pycache__ directory when executing blueprint-compiler
# This is a workaround to avoid filesystem violations during poudriere build
MAKE_ENV= PYTHONDONTWRITEBYTECODE=1
diff --git a/devel/nextpnr/distinfo b/devel/nextpnr/distinfo
index 396ec3c52a38..7be95fe0df79 100644
--- a/devel/nextpnr/distinfo
+++ b/devel/nextpnr/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1757340857
-SHA256 (YosysHQ-nextpnr-nextpnr-0.9_GH0.tar.gz) = 8cebc65049ff91c411d963ea2304b1a3dd42036f79de2eb3e9834c842f934495
-SIZE (YosysHQ-nextpnr-nextpnr-0.9_GH0.tar.gz) = 4744423
+TIMESTAMP = 1773417678
+SHA256 (YosysHQ-nextpnr-nextpnr-0.10_GH0.tar.gz) = 374393094cdf7b2aae415cebf0994840b4a355bb95e89c683ef19f95f0b14dc2
+SIZE (YosysHQ-nextpnr-nextpnr-0.10_GH0.tar.gz) = 3510853
SHA256 (YosysHQ-nextpnr-tests-ce15412_GH0.tar.gz) = 84b7e926d97ce1aae3a2b9115b9030fce483a8b6d8b6cde060046a93f24966fe
SIZE (YosysHQ-nextpnr-tests-ce15412_GH0.tar.gz) = 1032708
diff --git a/devel/nextpnr/files/patch-bba_CMakeLists.txt b/devel/nextpnr/files/patch-bba_CMakeLists.txt
index 07e458b948b9..978f75d91170 100644
--- a/devel/nextpnr/files/patch-bba_CMakeLists.txt
+++ b/devel/nextpnr/files/patch-bba_CMakeLists.txt
@@ -1,10 +1,10 @@
---- bba/CMakeLists.txt.orig 2025-09-08 14:21:44 UTC
+--- bba/CMakeLists.txt.orig 2026-01-28 22:36:11 UTC
+++ bba/CMakeLists.txt
-@@ -10,6 +10,5 @@ target_link_libraries(bbasm LINK_PRIVATE
+@@ -9,5 +9,6 @@ target_link_libraries(bbasm LINK_PRIVATE
add_executable(bbasm
main.cc)
target_link_libraries(bbasm LINK_PRIVATE
-- ${Boost_PROGRAM_OPTIONS_LIBRARY}
-- ${Boost_SYSTEM_LIBRARY})
-+ Boost::program_options)
+- ${Boost_PROGRAM_OPTIONS_LIBRARY})
++ ${Boost_PROGRAM_OPTIONS_LIBRARY}
++ Boost::program_options)
export(TARGETS bbasm FILE ${CMAKE_BINARY_DIR}/bba-export.cmake)
diff --git a/devel/nextpnr/pkg-descr b/devel/nextpnr/pkg-descr
index 6a7da071ba36..19ebe9b57069 100644
--- a/devel/nextpnr/pkg-descr
+++ b/devel/nextpnr/pkg-descr
@@ -5,9 +5,10 @@ Currently nextpnr supports:
- Lattice iCE40 devices supported by Project IceStorm
- Lattice ECP5 devices supported by Project Trellis
- Lattice Nexus devices supported by Project Oxide
- - Gowin LittleBee devices supported by Project Apicula
+ - Gowin LittleBee and Aurora V devices supported by Project Apicula
- NanoXplore NG-Ultra devices supported by Project Beyond
+ - Cologne Chip GateMate devices supported by Project Peppercorn
- (experimental) Cyclone V devices supported by Mistral
- (experimental) Lattice MachXO2 devices supported by Project Trellis
+ - (experimental) Xilinx 7-series devices supported by Project X-Ray
- (experimental) a "generic" back-end for user-defined architectures
-
diff --git a/devel/nextpnr/pkg-plist b/devel/nextpnr/pkg-plist
new file mode 100644
index 000000000000..16d7e63b54ee
--- /dev/null
+++ b/devel/nextpnr/pkg-plist
@@ -0,0 +1,5 @@
+bin/nextpnr-ecp5
+bin/nextpnr-ice40
+bin/nextpnr-himbaechel
+%%DATADIR%%/himbaechel/gatemate/chipdb-CCGM1A1.bin
+%%DATADIR%%/himbaechel/gatemate/chipdb-CCGM1A2.bin