git: 2bedec467001 - main - math/tmv: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Oct 2021 21:07:13 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bedec467001a6c2e8990acd9be67362d5f0163c commit 2bedec467001a6c2e8990acd9be67362d5f0163c Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-06 20:52:24 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-06 20:52:24 +0000 math/tmv: fix build on powerpc c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -I../include -fopenmp -fPIC -DTMV_NDEBUG -DFBLAS -DNOLAP -isystem /usr/local/include -c -o TMV_MultMM_OpenMP.o TMV_MultMM_OpenMP.cpp TMV_MultMM.cpp:33:10: fatal error: 'omp.h' file not found --- math/tmv/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/tmv/Makefile b/math/tmv/Makefile index 9ec06912099c..43f05dc9ea63 100644 --- a/math/tmv/Makefile +++ b/math/tmv/Makefile @@ -21,6 +21,12 @@ MAKEFILE= ${FILESDIR}/Makefile OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.endif + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/TMV_Documentation.pdf ${STAGEDIR}${DOCSDIR}