Date: Tue, 15 Jun 2021 08:42:20 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: 05931c0cc85b - main - math/csdp: fix build on powerpc Message-ID: <202106150842.15F8gKEi064717@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=05931c0cc85b2fdfb03258db121648adf562f0ca commit 05931c0cc85b2fdfb03258db121648adf562f0ca Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-06-15 08:41:15 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-06-15 08:41:15 +0000 math/csdp: fix build on powerpc LLVM on powerpc doesn't have libomp: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o op_o.o op_o.c op_o.c:15:10: fatal error: 'omp.h' file not found --- math/csdp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/csdp/Makefile b/math/csdp/Makefile index d6254a763116..9319f4d5b148 100644 --- a/math/csdp/Makefile +++ b/math/csdp/Makefile @@ -29,6 +29,12 @@ PLIST_FILES= bin/complement \ bin/rand_graph \ bin/theta +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.endif + post-stage: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106150842.15F8gKEi064717>