diff options
author | Robert Clausecker <fuz@fuz.su> | 2022-07-27 19:25:21 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-07-27 19:25:21 +0000 |
commit | cc4c20c65b775f0a95be0fd92c887150b6266676 (patch) | |
tree | b18469a33847670e056ce9a2ddf9e75ebf703caf | |
parent | aa37299d1aad5f0e4a73667d1f8a18831dd17ec7 (diff) | |
download | ports-cc4c20c65b775f0a95be0fd92c887150b6266676.tar.gz ports-cc4c20c65b775f0a95be0fd92c887150b6266676.zip |
math/gismo: Fix build on armv6/armv7
PR: 265467
-rw-r--r-- | math/gismo/Makefile | 7 |
1 files 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> |