summaryrefslogtreecommitdiff
path: root/devel/nextpnr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nextpnr/Makefile')
-rw-r--r--devel/nextpnr/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile
index ac37ce495fae..1da661953385 100644
--- a/devel/nextpnr/Makefile
+++ b/devel/nextpnr/Makefile
@@ -1,7 +1,6 @@
PORTNAME= nextpnr
DISTVERSIONPREFIX= ${PORTNAME}-
-DISTVERSION= 0.8
-PORTREVISION= 1
+DISTVERSION= 0.9
PORTEPOCH= 1
CATEGORIES= devel
@@ -22,7 +21,7 @@ LIB_DEPENDS= libboost_thread.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
+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
USE_GITHUB= yes
@@ -41,4 +40,10 @@ PLIST_FILES= bin/nextpnr-ecp5 \
# This is a workaround to avoid filesystem violations during poudriere build
MAKE_ENV= PYTHONDONTWRITEBYTECODE=1
+.if exists(/usr/include/omp.h)
+CMAKE_ON= USE_OPENMP
+.else
+CMAKE_OFF= USE_OPENMP
+.endif
+
.include <bsd.port.mk>