summarylogtreecommitdiffstats
path: root/test_optdepends.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_optdepends.sh')
-rw-r--r--test_optdepends.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_optdepends.sh b/test_optdepends.sh
index bbb44536ca44..edc2d79fd9e9 100644
--- a/test_optdepends.sh
+++ b/test_optdepends.sh
@@ -11,8 +11,8 @@ CONFOPTS=""
# Add hypre support
if [ -f "/usr/lib/libHYPRE.so" ]; then
- VERSION_MIN=2.14.2
- VERSION=$(readlink -f '/usr/lib/libHYPRE.so' | sed 's/^.*\.so\.')
+ VERSION_MIN=2.14.0
+ VERSION=$(readlink -f '/usr/lib/libHYPRE.so' | sed -r 's/^.*libHYPRE-(.*)\.so/\1/')
if [ "$VERSION_MIN" = "$(printf '%s\n' "$VERSION_MIN" "$VERSION" | sort -V | head -n1)" ]; then
CONFOPTS="${CONFOPTS} --with-hypre=1"