Date: Sun, 2 May 2021 12:19:47 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e86c71c383ca - main - math/py-ducc0: fix build on powerpc64le Message-ID: <202105021219.142CJlFh084542@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e86c71c383ca576fdf9f741f0ecd92d7cfabe8d8 commit e86c71c383ca576fdf9f741f0ecd92d7cfabe8d8 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-05-02 12:19:44 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-05-02 12:19:44 +0000 math/py-ducc0: fix build on powerpc64le GCC is required for its SSE -> AltiVec translation. Also don't set -march=native. --- math/py-ducc0/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/math/py-ducc0/Makefile b/math/py-ducc0/Makefile index f974440f7a76..9c678ace6ca3 100644 --- a/math/py-ducc0/Makefile +++ b/math/py-ducc0/Makefile @@ -1,5 +1,6 @@ PORTNAME= ducc0 PORTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +13,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} -USES= compiler:c++17-lang python:3.6+ +USES= python:3.6+ USE_PYTHON= distutils autoplist +MAKE_ENV= DUCC0_OPTIMIZATION=none + +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc64le +CFLAGS+= -DNO_WARN_X86_INTRINSICS +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++17-lang +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ducc0*.so .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105021219.142CJlFh084542>