aboutsummaryrefslogtreecommitdiff
path: root/math/sundials/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/sundials/Makefile')
-rw-r--r--math/sundials/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/math/sundials/Makefile b/math/sundials/Makefile
index 171b940af80b..aabdd8134d52 100644
--- a/math/sundials/Makefile
+++ b/math/sundials/Makefile
@@ -1,12 +1,13 @@
PORTNAME= sundials
-DISTVERSION= 6.6.0
-PORTREVISION= 7
+DISTVERSION= 7.2.1
+PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= https://github.com/LLNL/sundials/releases/download/v${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers
-WWW= https://computing.llnl.gov/projects/sundials
+WWW= https://computing.llnl.gov/projects/sundials \
+ https://github.com/LLNL/sundials
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -25,6 +26,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