Skip to content

Commit

Permalink
science/arbor: Add NATIVE option to disable native optimization by de…
Browse files Browse the repository at this point in the history
…fault

Reported by:	fallout
  • Loading branch information
yurivict committed Dec 4, 2022
1 parent 3e55309 commit 7562c33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions science/arbor/Makefile
@@ -1,6 +1,7 @@
PORTNAME= arbor
DISTVERSIONPREFIX= v
DISTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= science

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -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}

Expand Down

0 comments on commit 7562c33

Please sign in to comment.