Date: Fri, 14 Jul 2023 01:26:14 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: 0efd6e6a4117 - main - science/libxc: Add NATIVE option Message-ID: <202307140126.36E1QE8l002177@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=0efd6e6a411705013e0e7e41f22847aba4e32ce7 commit 0efd6e6a411705013e0e7e41f22847aba4e32ce7 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-14 01:24:29 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-14 01:24:29 +0000 science/libxc: Add NATIVE option ... to have no native optimizations by default. Otherwise libxc caused illegal instruction errors in science/sirius. --- science/libxc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/science/libxc/Makefile b/science/libxc/Makefile index 97d3c876ff34..2207601fb62a 100644 --- a/science/libxc/Makefile +++ b/science/libxc/Makefile @@ -1,6 +1,6 @@ PORTNAME= libxc DISTVERSION= 6.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://www.tddft.org/programs/${PORTNAME}/down/${DISTVERSION}/ @@ -18,6 +18,10 @@ TEST_DEPENDS= bash:shells/bash CMAKE_ON= BUILD_SHARED_LIBS ENABLE_FORTRAN ENABLE_PYTHON CMAKE_OFF= BUILD_TESTING +OPTIONS_DEFINE= NATIVE + +NATIVE_CMAKE_BOOL= ENABLE_XHOST + pre-configure: ${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pylibxc$$|${PYTHONPREFIX_SITELIBDIR}/pylibxc|' \ -e 's|$${CMAKE_INSTALL_PREFIX}/$${CMAKE_INSTALL_LIBDIR}/pylibxc/|${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pylibxc/|'\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307140126.36E1QE8l002177>