aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/getfem/README8
-rw-r--r--academic/getfem/getfem.SlackBuild8
-rw-r--r--academic/getfem/getfem.info6
3 files changed, 17 insertions, 5 deletions
diff --git a/academic/getfem/README b/academic/getfem/README
index 41f7a614a6..3f48528fee 100644
--- a/academic/getfem/README
+++ b/academic/getfem/README
@@ -13,10 +13,16 @@ build GetFEM with support to octave, scilab or matlab in order to make
those tools work properly.
Optional dependencies are (if you add '--enable-FEATURE', e.g.:
---enable-octave, to ./configure command:
+--enable-octave, to ./configure command):
- octave
- scilab
- qhull
- mumps
- metis
+
+Another optional dependency is OpenBLAS. In this case, you can build
+getfem with:
+BLAS=openblas sh getfem.SlackBuild
+
+Otherwise, blas will be selected.
diff --git a/academic/getfem/getfem.SlackBuild b/academic/getfem/getfem.SlackBuild
index 0429a5736c..cfb5da7dc0 100644
--- a/academic/getfem/getfem.SlackBuild
+++ b/academic/getfem/getfem.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=getfem
-VERSION=${VERSION:-5.4.3}
+VERSION=${VERSION:-5.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,11 +79,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Add $BLAS variable to allow users to pass openblas to the script
+BLAS=${BLAS:-blas}
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--docdir=/usr/share/doc \
--with-pic \
+ --with-blas=$BLAS \
--enable-superlu \
--enable-python \
--enable-shared \
diff --git a/academic/getfem/getfem.info b/academic/getfem/getfem.info
index 1671c963ba..1602050c39 100644
--- a/academic/getfem/getfem.info
+++ b/academic/getfem/getfem.info
@@ -1,8 +1,8 @@
PRGNAM="getfem"
-VERSION="5.4.3"
+VERSION="5.4.4"
HOMEPAGE="https://getfem.org/"
-DOWNLOAD="https://download-mirror.savannah.gnu.org/releases/getfem/stable/getfem-5.4.3.tar.gz"
-MD5SUM="dfba62716bcc4d3839ec00e8f1cca21b"
+DOWNLOAD="https://download-mirror.savannah.gnu.org/releases/getfem/stable/getfem-5.4.4.tar.gz"
+MD5SUM="d32b9c5e5676970fb401c6d1c83cc03f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-scipy superlu"