diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-12-04 01:59:44 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-12-04 02:05:40 +0000 |
commit | 7562c33b21f9cee2ea8fdddc7e019715f11b5a62 (patch) | |
tree | 28db167d3e927fd83dabdf727be98134c7d34793 | |
parent | 3e5530943434f6e2ed38c563ca99b0b4d2201ab7 (diff) | |
download | ports-7562c33b21f9cee2ea8fdddc7e019715f11b5a62.tar.gz ports-7562c33b21f9cee2ea8fdddc7e019715f11b5a62.zip |
science/arbor: Add NATIVE option to disable native optimization by default
Reported by: fallout
-rw-r--r-- | science/arbor/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/science/arbor/Makefile b/science/arbor/Makefile index 63a3a6bbd3fc..e2b4f185c4e7 100644 --- a/science/arbor/Makefile +++ b/science/arbor/Makefile @@ -1,6 +1,7 @@ PORTNAME= arbor DISTVERSIONPREFIX= v DISTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -27,6 +28,11 @@ SHEBANG_FILES= scripts/arbor-build-catalogue CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD} +OPTIONS_DEFINE= NATIVE + +NATIVE_CMAKE_ON= -DARB_ARCH=native +NATIVE_CMAKE_OFF= -DARB_ARCH=none + post-install: @${RMDIR} ${STAGEDIR}${DOCSDIR} |