diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile index f0663ba0e805..492a4d387c51 100644 --- a/devel/nextpnr/Makefile +++ b/devel/nextpnr/Makefile @@ -1,47 +1,43 @@ PORTNAME= nextpnr DISTVERSIONPREFIX= ${PORTNAME}- -DISTVERSION= 0.7 -PORTREVISION= 5 +DISTVERSION= 0.8 PORTEPOCH= 1 CATEGORIES= devel -PATCH_SITES= https://github.com/YosysHQ/nextpnr/commit/ -PATCHFILES= f085950383155a745cf2e3c0f28c468d01ff5fd7.patch:-p1 - MAINTAINER= jbo@FreeBSD.org COMMENT= Portable FPGA place and route tool WWW= https://github.com/YosysHQ/nextpnr LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= clang segfault BUILD_DEPENDS= ${LOCALBASE}/share/trellis/database:devel/trellis \ ${LOCALBASE}/share/icebox:devel/icestorm LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libboost_program_options.so:devel/boost-libs \ ${PY_BOOST} USES= compiler:c++17-lang cmake qt:5 eigen:3 python gl USE_QT= buildtools:build core gui opengl qmake:build widgets USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= YosysHQ -GH_TUPLE= YosysHQ:nextpnr-tests:00c55a9e:tests/tests +GH_TUPLE= YosysHQ:nextpnr-tests:ce15412:tests/tests BINARY_ALIAS= python3=${PYTHON_CMD} CMAKE_ARGS= -DARCH="ice40;ecp5" -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 .include diff --git a/devel/nextpnr/distinfo b/devel/nextpnr/distinfo index 312682654a78..865a0c489ab6 100644 --- a/devel/nextpnr/distinfo +++ b/devel/nextpnr/distinfo @@ -1,7 +1,5 @@ -TIMESTAMP = 1728304472 -SHA256 (YosysHQ-nextpnr-nextpnr-0.7_GH0.tar.gz) = bd173cb218c97f66e4afdf7b886d70c8c0893f544a1cf20b50c0182a1d9f2f45 -SIZE (YosysHQ-nextpnr-nextpnr-0.7_GH0.tar.gz) = 4711765 -SHA256 (YosysHQ-nextpnr-tests-00c55a9e_GH0.tar.gz) = 2240aa0c61211a62ca307ef8d8b0f58c4ebb59ecb61334c45bf586daf69d964b -SIZE (YosysHQ-nextpnr-tests-00c55a9e_GH0.tar.gz) = 1039171 -SHA256 (f085950383155a745cf2e3c0f28c468d01ff5fd7.patch) = 4e93475cc6c09b93b707d64e06779f419eddcc6f705e5f568180795f0915f745 -SIZE (f085950383155a745cf2e3c0f28c468d01ff5fd7.patch) = 1087 +TIMESTAMP = 1742940246 +SHA256 (YosysHQ-nextpnr-nextpnr-0.8_GH0.tar.gz) = 968ce3f39973e1d855c6bf1606a334d9f9650cff978554b822de0a6c088947bd +SIZE (YosysHQ-nextpnr-nextpnr-0.8_GH0.tar.gz) = 4665005 +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 new file mode 100644 index 000000000000..1e9e2cd5abf1 --- /dev/null +++ b/devel/nextpnr/files/patch-bba_CMakeLists.txt @@ -0,0 +1,13 @@ +--- bba/CMakeLists.txt.orig 2025-03-25 22:08:07 UTC ++++ bba/CMakeLists.txt +@@ -9,7 +9,7 @@ target_link_libraries(bbasm LINK_PRIVATE + add_executable(bbasm + main.cc) + target_link_libraries(bbasm LINK_PRIVATE +- ${Boost_PROGRAM_OPTIONS_LIBRARY} +- ${Boost_FILESYSTEM_LIBRARY} +- ${Boost_SYSTEM_LIBRARY}) ++ Boost::program_options ++ Boost::filesystem ++ Boost::system) + export(TARGETS bbasm FILE ${CMAKE_BINARY_DIR}/bba-export.cmake) diff --git a/devel/nextpnr/files/patch-gui_quadtree.h b/devel/nextpnr/files/patch-gui_quadtree.h deleted file mode 100644 index 8884a07a7261..000000000000 --- a/devel/nextpnr/files/patch-gui_quadtree.h +++ /dev/null @@ -1,11 +0,0 @@ ---- gui/quadtree.h.orig 2025-02-09 18:01:57 UTC -+++ gui/quadtree.h -@@ -226,7 +226,7 @@ template cla - return *this; - bound_ = other.bound_; - max_elems_ = other.max_elems_; -- children_ = other.max_children_; -+ //children_ = other.max_children_; - children_ = other.children_; - splitx_ = other.splitx_; - splity_ = other.splity_; diff --git a/devel/nextpnr/pkg-descr b/devel/nextpnr/pkg-descr index 496ada349d42..6a7da071ba36 100644 --- a/devel/nextpnr/pkg-descr +++ b/devel/nextpnr/pkg-descr @@ -1,8 +1,13 @@ nextpnr aims to be a vendor neutral, timing driven, FOSS FPGA place and route tool. 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 + - NanoXplore NG-Ultra devices supported by Project Beyond + - (experimental) Cyclone V devices supported by Mistral + - (experimental) Lattice MachXO2 devices supported by Project Trellis + - (experimental) a "generic" back-end for user-defined architectures -Lattice iCE40 devices supported by Project IceStorm -(experimental) Lattice ECP5 devices supported by Project Trellis -(experimental) a "generic" back-end for user-defined architectures