Skip to content

Commit eac1691

Browse files
committed
Hardcode value for suitesparse version
1 parent 96b4f51 commit eac1691

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

suitesparse.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/bin/bash
22

33
# 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
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
1112
echo VERSION: $VERSION
1213

1314
NPROC="$(nproc)"

0 commit comments

Comments
 (0)