git: 7562c33b21f9 - main - science/arbor: Add NATIVE option to disable native optimization by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Dec 2022 02:05:44 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7562c33b21f9cee2ea8fdddc7e019715f11b5a62
commit 7562c33b21f9cee2ea8fdddc7e019715f11b5a62
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-04 01:59:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-04 02:05:40 +0000
science/arbor: Add NATIVE option to disable native optimization by default
Reported by: fallout
---
science/arbor/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
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}