We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1eb06 commit c201fadCopy full SHA for c201fad
suitesparse.sh
@@ -1,14 +1,13 @@
1
#!/bin/bash
2
3
# parse SuiteSparse version from first argument, a git tag that ends in the version (no leading v)
4
-#if [[ $1 =~ refs/tags/([0-9]*\.[0-9]*\.[0-9]*)\..*$ ]];
5
-#then
6
-# VERSION=${BASH_REMATCH[1]}
7
-#else
8
-# echo "Specify a SuiteSparse version, such as: $0 refs/tags/7.4.3.0"
9
-# exit -1
10
-#fi
11
-VERSION=7.4.3
+if [[ $1 =~ refs/tags/([0-9]*\.[0-9]*\.[0-9]*)\..*$ ]];
+then
+ VERSION=${BASH_REMATCH[1]}
+else
+ echo "Specify a SuiteSparse version, such as: $0 refs/tags/7.4.3.0"
+ exit -1
+fi
12
echo VERSION: $VERSION
13
14
NPROC="$(nproc)"
0 commit comments