Skip to content

Commit cccc52b

Browse files
committed
Try to use version 9.4.5.beta2
1 parent d6e4959 commit cccc52b

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
18-
source: ["conda-forge"]
19-
# os: ["ubuntu-latest"]
20-
# source: ["source"]
17+
# os: ["ubuntu-latest", "macos-latest", "windows-latest"]
18+
# source: ["conda-forge"]
19+
os: ["ubuntu-latest"]
20+
source: ["source"]
2121
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222
steps:
2323
- name: Checkout
@@ -41,7 +41,7 @@ jobs:
4141
- name: GraphBLAS (from source)
4242
if: (contains(matrix.source, 'source'))
4343
run: |
44-
# From release (does not work with beta versions)
44+
# From release (also works with beta versions)
4545
GRAPHBLAS_PREFIX=${CONDA_PREFIX} bash suitesparse.sh refs/tags/$(cat GB_VERSION.txt).0
4646
4747
# From tag

GB_VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.4.4
1+
9.4.5.beta2

suitesparse.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
set -x # echo on
44

55
# parse SuiteSparse version from first argument, a git tag that ends in the version (no leading v)
6-
if [[ $1 =~ refs/tags/([0-9]*\.[0-9]*\.[0-9]*)\..*$ ]]; then
6+
if [[ $1 =~ refs/tags/([0-9]*\.[0-9]*\.[0-9]*\.beta[0-9]*).*$ ]]; then
7+
echo "Beta version detected"
8+
VERSION=${BASH_REMATCH[1]}
9+
elif [[ $1 =~ refs/tags/([0-9]*\.[0-9]*\.[0-9]*)\..*$ ]]; then
710
VERSION=${BASH_REMATCH[1]}
811
else
912
echo "Specify a SuiteSparse version, such as: $0 refs/tags/7.4.3.0 (got: $1)"
@@ -78,7 +81,7 @@ if [ -n "${SUITESPARSE_FAST_BUILD}" ]; then
7881
echo "#define GxB_NO_FC32 1" >> ../Source/GB_control.h
7982
echo "#define GxB_NO_FC64 1" >> ../Source/GB_control.h
8083
echo "#define GxB_NO_INT16 1" >> ../Source/GB_control.h
81-
# echo "#define GxB_NO_INT32 1" >> ../Source/GB_control.h
84+
echo "#define GxB_NO_INT32 1" >> ../Source/GB_control.h
8285
# echo "#define GxB_NO_INT64 1" >> ../Source/GB_control.h
8386
echo "#define GxB_NO_INT8 1" >> ../Source/GB_control.h
8487
echo "#define GxB_NO_UINT16 1" >> ../Source/GB_control.h
@@ -97,8 +100,8 @@ if [ -n "${SUITESPARSE_FASTEST_BUILD}" ]; then
97100
echo "#define GxB_NO_FC32 1" >> ../Source/GB_control.h
98101
echo "#define GxB_NO_FC64 1" >> ../Source/GB_control.h
99102
echo "#define GxB_NO_INT16 1" >> ../Source/GB_control.h
100-
# echo "#define GxB_NO_INT32 1" >> ../Source/GB_control.h
101-
# echo "#define GxB_NO_INT64 1" >> ../Source/GB_control.h
103+
echo "#define GxB_NO_INT32 1" >> ../Source/GB_control.h
104+
echo "#define GxB_NO_INT64 1" >> ../Source/GB_control.h
102105
echo "#define GxB_NO_INT8 1" >> ../Source/GB_control.h
103106
echo "#define GxB_NO_UINT16 1" >> ../Source/GB_control.h
104107
echo "#define GxB_NO_UINT32 1" >> ../Source/GB_control.h

0 commit comments

Comments
 (0)