git: 5ab1315a1675 - main - math/sundials: unbreak on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Dec 2024 10:47:05 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5ab1315a1675d0813b5920f0ab01368b006b683f
commit 5ab1315a1675d0813b5920f0ab01368b006b683f
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-12-24 09:48:27 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-26 10:46:27 +0000
math/sundials: unbreak on armv7
No OpenMP support on armv7 unfortunately.
Approved by: portmgr (build fix blanket)
MFH: 2024Q4
---
math/sundials/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/math/sundials/Makefile b/math/sundials/Makefile
index b2a410ac41af..3c638f661667 100644
--- a/math/sundials/Makefile
+++ b/math/sundials/Makefile
@@ -25,6 +25,10 @@ FCFLAGS:= ${FFLAGS} # project checks that these flags are equal
OPTIONS_DEFINE= BLAS EXAMPLES KLU LAPACK MPI OPENMP
OPTIONS_DEFAULT= KLU LAPACK MPI OPENMP
+# no OpenMP on armv7
+.if !exists(/usr/include/omp.h)
+OPTIONS_EXCLUDE= OPENMP
+.endif
OPTIONS_GROUP= VECTORS
OPTIONS_GROUP_VECTORS= HYPRE PETSC
VECTORS_DESC= Alternative vector libraries