Date: Tue, 9 Jun 2020 20:43:04 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r538342 - branches/2020Q2/devel/xeus-cling Message-ID: <202006092043.059Kh4cH057431@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Jun 9 20:43:04 2020 New Revision: 538342 URL: https://svnweb.freebsd.org/changeset/ports/538342 Log: MFH: r538341 devel/xeus-cling: Unbreak on systems incompatible with the system where the package was built -march=native caused SEGVs on incompatible systems Also add USE_LDFLAGS. Approved by: ports-secteam (joenum) Modified: branches/2020Q2/devel/xeus-cling/Makefile Directory Properties: branches/2020Q2/ (props changed) Modified: branches/2020Q2/devel/xeus-cling/Makefile ============================================================================== --- branches/2020Q2/devel/xeus-cling/Makefile Tue Jun 9 20:29:48 2020 (r538341) +++ branches/2020Q2/devel/xeus-cling/Makefile Tue Jun 9 20:43:04 2020 (r538342) @@ -2,6 +2,7 @@ PORTNAME= xeus-cling DISTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -24,7 +25,14 @@ LIB_DEPENDS= libclingInterpreter.so:lang/cling \ USES= cmake compiler:c++14-lang pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= jupyter-xeus +USE_LDCONFIG= yes LDFLAGS+= ${LOCALBASE}/lib/libLLVMSupport.so ${LOCALBASE}/lib/libclangAST.so -pthread # https://github.com/jupyter-xeus/xeus-cling/issues/234 + +OPTIONS_DEFINE= NATIVE + +NATIVE_DESC= Build with native optimizations (-march=native) +NATIVE_CMAKE_ON= -DDISABLE_ARCH_NATIVE=OFF +NATIVE_CMAKE_OFF= -DDISABLE_ARCH_NATIVE=ON .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006092043.059Kh4cH057431>