diff options
Diffstat (limited to 'devel/nextpnr/Makefile')
-rw-r--r-- | devel/nextpnr/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile index 492a4d387c51..1da661953385 100644 --- a/devel/nextpnr/Makefile +++ b/devel/nextpnr/Makefile @@ -1,6 +1,6 @@ PORTNAME= nextpnr DISTVERSIONPREFIX= ${PORTNAME}- -DISTVERSION= 0.8 +DISTVERSION= 0.9 PORTEPOCH= 1 CATEGORIES= devel @@ -21,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 @@ -40,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> |