Date: Fri, 14 Jul 2023 06:50:57 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: cc59d9d5720b - main - science/libint2-psi4: Add NATIVE option Message-ID: <202307140650.36E6ov5V042166@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=cc59d9d5720b4fdf2e5b84b7aeea91d316031a88 commit cc59d9d5720b4fdf2e5b84b7aeea91d316031a88 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-14 06:33:27 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-14 06:50:51 +0000 science/libint2-psi4: Add NATIVE option Otherwise it was built with -march=native by default which potentially causes crashes with illegal instruction signal. --- science/libint2-psi4/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/science/libint2-psi4/Makefile b/science/libint2-psi4/Makefile index f94ec8cb358f..b60d12ec390f 100644 --- a/science/libint2-psi4/Makefile +++ b/science/libint2-psi4/Makefile @@ -1,5 +1,6 @@ PORTNAME= libint2-psi4 DISTVERSION= 0.1-${VERSION} +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://github.com/loriab/libint/releases/download/v${DISTVERSION:C/-.*//}/ DISTFILES= libint-${VERSION}-post1-5-4-3-6-5-4_mm4f12ob2_1.tgz @@ -32,6 +33,10 @@ PLIST_SUB+= VER=${VERSION} CONFLICTS= libint2 +OPTIONS_DEFINE= NATIVE + +NATIVE_CMAKE_BOOL= ENABLE_XHOST + post-configure: # workaround for clang hanging on unity_1935_cxx.cxx, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265809 #@cd ${BUILD_WRKSRC} && \ # ${SED} -e 's|%%BUILD_WRKSRC%%|${BUILD_WRKSRC}|g ; s|%%WRKDIR%%|${WRKDIR}|g' < ${FILESDIR}/build.patch | ${PATCH}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307140650.36E6ov5V042166>