-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #867 from DrTimothyAldenDavis/dev
SuiteSparse 7.8.2
- Loading branch information
Showing
31 changed files
with
615 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: LAGraph CI | ||
name: LAGraph CI with Builtin GraphBLAS | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -13,38 +13,34 @@ jobs: | |
strategy: | ||
matrix: | ||
config: | ||
- {grb_version: 7.1.0, conda_grb_package_hash: h27087fc, conda_extension: tar.bz2} | ||
- {grb_version: 7.3.0, conda_grb_package_hash: h27087fc, conda_extension: tar.bz2} | ||
- {grb_version: 7.4.1, conda_grb_package_hash: hcb278e6, conda_extension: conda} | ||
# if there are multiple items in this list, only use should | ||
# deployit=true for just one of them. | ||
- {grb_version: 9.3.1, deployit: true} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Install tools for build | ||
run: | | ||
sudo apt install -y lcov | ||
- name: Get GraphBLAS binaries | ||
- name: Build GraphBLAS | ||
run: | | ||
mkdir graphblas-binaries | ||
cd graphblas-binaries | ||
wget --quiet https://anaconda.org/conda-forge/graphblas/${{ matrix.config.grb_version }}/download/linux-64/graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }} | ||
if [ ${{ matrix.config.conda_extension }} == "tar.bz2" ]; then | ||
tar xf graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }} | ||
else | ||
unzip graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }} | ||
tar xf pkg-graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.zst | ||
fi | ||
git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | ||
cd GraphBLAS | ||
git checkout tags/v${{ matrix.config.grb_version }} | ||
make compact | ||
sudo make install | ||
cd .. | ||
- name: Build project | ||
run: | | ||
export GRAPHBLAS_INCLUDE_DIR=`pwd`/graphblas-binaries/include | ||
export GRAPHBLAS_LIBRARY=`pwd`/graphblas-binaries/lib/libgraphblas.so | ||
export GRAPHBLAS_INCLUDE_DIR=`pwd`/GraphBLAS/include/suitesparse | ||
export GRAPHBLAS_LIBRARY=`pwd`/GraphBLAS/lib/libgraphblas.so | ||
cd build | ||
cmake .. -DCOVERAGE=1 -DGRAPHBLAS_INCLUDE_DIR=${GRAPHBLAS_INCLUDE_DIR} -DGRAPHBLAS_LIBRARY=${GRAPHBLAS_LIBRARY} | ||
JOBS=2 make | ||
make test_coverage | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
if: matrix.config.grb_version == '7.4.1' && github.event_name == 'push' && github.ref == 'refs/heads/stable' | ||
if: matrix.config.deployit && github.event_name == 'push' && github.ref == 'refs/heads/stable' | ||
with: | ||
branch: gh-pages | ||
folder: build/test_coverage/ | ||
|
@@ -59,9 +55,7 @@ jobs: | |
strategy: | ||
matrix: | ||
config: | ||
- {grb_version: 7.1.0, conda_grb_package_hash: h7881ed4, conda_extension: tar.bz2} | ||
- {grb_version: 7.3.0, conda_grb_package_hash: ha894c9a, conda_extension: tar.bz2} | ||
- {grb_version: 7.4.1, conda_grb_package_hash: ha894c9a, conda_extension: conda} | ||
- {grb_version: 9.3.1} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -70,22 +64,18 @@ jobs: | |
brew tap-new libomp/cask | ||
brew extract --version=14.0.6 libomp libomp/cask | ||
brew install [email protected] | ||
- name: Get GraphBLAS binaries | ||
- name: Build GraphBLAS | ||
run: | | ||
mkdir graphblas-binaries | ||
cd graphblas-binaries | ||
wget --quiet https://anaconda.org/conda-forge/graphblas/${{ matrix.config.grb_version }}/download/osx-64/graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }} | ||
if [ ${{ matrix.config.conda_extension }} == "tar.bz2" ]; then | ||
tar xf graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }} | ||
else | ||
unzip graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }} | ||
tar xf pkg-graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.zst | ||
fi | ||
git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | ||
cd GraphBLAS | ||
git checkout tags/v${{ matrix.config.grb_version }} | ||
make compact | ||
sudo make install | ||
cd .. | ||
- name: Build project | ||
run: | | ||
export GRAPHBLAS_INCLUDE_DIR=`pwd`/graphblas-binaries/include | ||
export GRAPHBLAS_LIBRARY=`pwd`/graphblas-binaries/lib/libgraphblas.dylib | ||
export GRAPHBLAS_INCLUDE_DIR=`pwd`/GraphBLAS/include/suitesparse | ||
export GRAPHBLAS_LIBRARY=`pwd`/GraphBLAS/lib/libgraphblas.dylib | ||
# adding an extra line to the CMakeLists.txt file to locate the libomp instance installed by brew | ||
echo 'include_directories("/usr/local/opt/libomp/include")' | cat - CMakeLists.txt | ||
cd build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignore the following: | ||
Res | ||
!.gitignore |
Oops, something went wrong.