mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
science/libint2-psi4: Add NATIVE option
Otherwise it was built with -march=native by default which potentially causes crashes with illegal instruction signal.
This commit is contained in:
parent
ad12c90b0b
commit
cc59d9d572
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user