From ed2471eb113a28112b33111fd0c53f1ee554c2f0 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Wed, 27 Jul 2022 12:25:21 -0700 Subject: 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 -- cgit v1.2.3