git: ed2471eb113a - 2022Q3 - math/gismo: Fix build on armv6/armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 19:26:40 UTC
The branch 2022Q3 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed2471eb113a28112b33111fd0c53f1ee554c2f0 commit ed2471eb113a28112b33111fd0c53f1ee554c2f0 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-07-27 19:25:21 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-27 19:26:35 +0000 math/gismo: Fix build on armv6/armv7 PR: 265467 (cherry picked from commit cc4c20c65b775f0a95be0fd92c887150b6266676) --- math/gismo/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/math/gismo/Makefile b/math/gismo/Makefile index 8e475658d7fc..185fea56b531 100644 --- a/math/gismo/Makefile +++ b/math/gismo/Makefile @@ -9,8 +9,6 @@ COMMENT= C++ library for isogeometric analysis (IGA) LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN_armv7= unknown target architecture: "generic". Please set TARGET_ARCHITECTURE to a supported value, see https://github.com/gismo/gismo/issues/541 - USES= cmake:testing compiler:c++14-lang USE_GITHUB= yes USE_GCC= yes # clang-11 crashes: https://bugs.llvm.org/show_bug.cgi?id=51468 @@ -27,6 +25,11 @@ GH_TUPLE= gismo:gsElasticity:a94347d:gsElasticity/extensions/gsElasticity \ .if ${ARCH} == aarch64 CMAKE_ARGS+= -DTARGET_ARCHITECTURE="cortex-a53" +.elif ${ARCH} == armv6 +# Raspberry Pi 1, the only supported armv6 target +CMAKE_ARGS+= -DTARGET_ARCHITECTURE="arm1176jzf-s" +.elif ${ARCH} == armv7 +CMAKE_ARGS+= -DTARGET_ARCHITECTURE="cortex-a7" .endif .include <bsd.port.post.mk>