Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2022 02:05:44 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7562c33b21f9 - main - science/arbor: Add NATIVE option to disable native optimization by default
Message-ID:  <202212040205.2B425iXc059985@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212040205.2B425iXc059985>