-
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 #860 from DrTimothyAldenDavis/dev
SuiteSparse 7.8.0
- Loading branch information
Showing
4,605 changed files
with
192,525 additions
and
159,728 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
No pull request can be accepted unless you first sign the Contributor License Agreement [ CONTRIBUTOR-LICENSE.txt ]. Print it as a PDF and email me a signed PDF (digital signature OK). Submit all PRs to the dev2 branch only. | ||
No pull request can be accepted unless you first sign the Contributor License Agreement (see the PDF agreement in the `Contributor_License` folder). Sign the PDF and email it to me (digital signature OK). Submit all PRs to the dev2 branch only. |
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,6 +1,9 @@ | ||
name: macos | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Run job every Saturday at 08:20 UTC | ||
- cron: '20 8 * * 6' | ||
# push: | ||
# branches-ignore: | ||
# - '**/dev2' | ||
|
@@ -51,6 +54,8 @@ jobs: | |
brew install --overwrite [email protected] [email protected] [email protected] | ||
brew reinstall gcc | ||
brew install autoconf automake ccache cmake gmp lapack libomp mpfr openblas | ||
HOMEBREW_PREFIX=$(brew --prefix) | ||
echo "HOMEBREW_PREFIX=$(brew --prefix)" >> $GITHUB_ENV | ||
- name: prepare ccache | ||
# create key with human readable timestamp | ||
|
@@ -89,98 +94,98 @@ jobs: | |
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_Fortran_COMPILER_LAUNCHER="ccache" \ | ||
-DBLA_VENDOR="OpenBLAS" \ | ||
-DCMAKE_PREFIX_PATH="/usr/local/opt/lapack;/usr/local/opt/openblas;/usr/local/opt/libomp" \ | ||
-DBLA_VENDOR="Apple" \ | ||
-DCMAKE_PREFIX_PATH="${HOMEBREW_PREFIX}/opt/lapack;${HOMEBREW_PREFIX}/opt/openblas;${HOMEBREW_PREFIX}/opt/libomp" \ | ||
.. | ||
echo "::endgroup::" | ||
echo "::group::Build $lib" | ||
cmake --build . --config Release | ||
echo "::endgroup::" | ||
done | ||
- name: check_Mongoose | ||
- name: check Mongoose | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/Mongoose/build | ||
ctest . | ||
- name: check_AMD | ||
- name: check AMD | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/AMD | ||
make demos | ||
- name: check_CAMD | ||
- name: check CAMD | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/CAMD | ||
make demos | ||
- name: check_COLAMD | ||
- name: check COLAMD | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/COLAMD | ||
make demos | ||
- name: check_CCOLAMD | ||
- name: check CCOLAMD | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/CCOLAMD | ||
make demos | ||
- name: check_CHOLMOD | ||
- name: check CHOLMOD | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/CHOLMOD | ||
make demos | ||
cd ${GITHUB_WORKSPACE}/CHOLMOD/build | ||
ctest . | ||
- name: check_CSparse | ||
- name: check CSparse | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/CSparse | ||
make demos | ||
- name: check_CXSparse | ||
- name: check CXSparse | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/CXSparse | ||
make demos | ||
- name: check_LDL | ||
- name: check LDL | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/LDL | ||
make demos | ||
- name: check_KLU | ||
- name: check KLU | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/KLU | ||
make demos | ||
- name: check_UMFPACK | ||
- name: check UMFPACK | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/UMFPACK | ||
make demos | ||
- name: check_RBio | ||
- name: check RBio | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/RBio | ||
make demos | ||
- name: check_SPQR | ||
- name: check SPQR | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/SPQR | ||
make demos | ||
- name: check_SPEX | ||
- name: check SPEX | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/SPEX | ||
make demos | ||
- name: check_GraphBLAS | ||
- name: check GraphBLAS | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/GraphBLAS | ||
make demos | ||
- name: check_LAGraph | ||
- name: check LAGraph | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/LAGraph | ||
make demos | ||
- name: check_ParU | ||
- name: check ParU | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/ParU | ||
make demos | ||
|
@@ -212,7 +217,7 @@ jobs: | |
cd ${GITHUB_WORKSPACE}/Example/build | ||
printf "::group::\033[0;32m==>\033[0m Configuring example\n" | ||
cmake \ | ||
-DCMAKE_PREFIX_PATH="${GITHUB_WORKSPACE}/lib/cmake;/usr/local/opt/lapack;/usr/local/opt/openblas;/usr/local/opt/libomp" \ | ||
-DCMAKE_PREFIX_PATH="${GITHUB_WORKSPACE}/lib/cmake;${HOMEBREW_PREFIX}/opt/lapack;${HOMEBREW_PREFIX}/opt/openblas;${HOMEBREW_PREFIX}/opt/libomp" \ | ||
.. | ||
echo "::endgroup::" | ||
printf "::group::\033[0;32m==>\033[0m Building example\n" | ||
|
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 |
---|---|---|
|
@@ -305,6 +305,7 @@ jobs: | |
cuda: [without] | ||
link: [both] | ||
cc: [cl] | ||
cxx: [cl] | ||
include: | ||
- openmp: without | ||
openmp-cmake-flags: "-DSUITESPARSE_USE_OPENMP=OFF" | ||
|
@@ -315,6 +316,7 @@ jobs: | |
-DCMAKE_CUDA_COMPILER_LAUNCHER="ccache" | ||
link: both | ||
cc: cl | ||
cxx: cl | ||
- openmp: with | ||
cuda: with | ||
cuda-cmake-flags: | ||
|
@@ -325,10 +327,17 @@ jobs: | |
-DBUILD_SHARED_LIBS=OFF | ||
-DBUILD_STATIC_LIBS=ON | ||
cc: cl | ||
cxx: cl | ||
- openmp: with | ||
cuda: without | ||
link: both | ||
cc: clang-cl | ||
cxx: clang-cl | ||
- openmp: with | ||
cuda: without | ||
link: both | ||
cc: clang | ||
cxx: clang++ | ||
|
||
env: | ||
CHERE_INVOKING: 1 | ||
|
@@ -351,16 +360,16 @@ jobs: | |
uses: actions/cache/restore@v4 | ||
with: | ||
path: C:/Miniconda/envs/test | ||
key: conda:msvc | ||
key: conda:netlib:msvc | ||
|
||
- name: install packages with conda | ||
if: ${{ steps.conda-cache.outputs.cache-hit != 'true' }} | ||
run: | | ||
echo ${{ steps.conda-cache.outputs.cache-hit }} | ||
conda info | ||
conda list | ||
conda install -y -c intel mkl-devel | ||
conda install -y -c conda-forge --override-channels ccache | ||
conda install -y -c conda-forge --override-channels ccache m2w64-gcc-libs | ||
conda install -y -c conda-forge/label/lapack_rc --override-channels liblapack=3.11 | ||
- name: save conda cache | ||
if: ${{ steps.conda-cache.outputs.cache-hit != 'true' }} | ||
|
@@ -384,12 +393,12 @@ jobs: | |
msystem: UCRT64 | ||
|
||
- uses: Jimver/[email protected].14 | ||
- uses: Jimver/[email protected].16 | ||
name: install CUDA toolkit | ||
if: matrix.cuda == 'with' | ||
id: cuda-toolkit | ||
with: | ||
cuda: '12.2.0' | ||
cuda: '12.5.0' | ||
#See https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#install-the-cuda-software | ||
method: 'local' | ||
# Do not cache the installer (~3 GiB). It doesn't speed up the | ||
|
@@ -455,19 +464,27 @@ jobs: | |
if [ ${{ matrix.cuda }} = 'with' ]; then | ||
_extra_config+=(-DCUDAToolkit_ROOT="$(cygpath -m "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}")") | ||
_extra_config+=(-DCMAKE_CUDA_COMPILER="$(cygpath -m "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}")/bin/nvcc.exe") | ||
# MSVC 19.40 is still Visual Studio 2022. | ||
# Suppress erroneous version check. | ||
_extra_config+=(-DCMAKE_CUDA_FLAGS=-allow-unsupported-compiler) | ||
fi | ||
if [[ ${{ matrix.cc }} == clang* ]]; then | ||
# Move away (old) clang/clang++ and clang-cl that would be in PATH | ||
# to make sure that we use the one that matches the MSVC runtime. | ||
mv C:/Program\ Files/LLVM C:/Program\ Files/LLVM_old | ||
fi | ||
mkdir -p ${GITHUB_WORKSPACE}/build && cd ${GITHUB_WORKSPACE}/build | ||
cmake -G"Ninja Multi-Config" \ | ||
-DCMAKE_C_COMPILER=${{ matrix.cc }} \ | ||
-DCMAKE_CXX_COMPILER=${{ matrix.cc }} \ | ||
-DCMAKE_CXX_COMPILER=${{ matrix.cxx }} \ | ||
-DCMAKE_BUILD_TYPE="Release" \ | ||
-DCMAKE_INSTALL_PREFIX=".." \ | ||
-DCMAKE_PREFIX_PATH="C:/Miniconda/envs/test/Library;${GITHUB_WORKSPACE}/dependencies" \ | ||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_Fortran_COMPILER_LAUNCHER="ccache" \ | ||
-DSUITESPARSE_USE_FORTRAN=OFF \ | ||
-DBLA_VENDOR="All" \ | ||
-DSUITESPARSE_C_TO_FORTRAN="(name,NAME) name##_" \ | ||
-DPython_EXECUTABLE="C:/msys64/ucrt64/bin/python.exe" \ | ||
-DSUITESPARSE_DEMOS=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
|
@@ -524,7 +541,7 @@ jobs: | |
printf "::group::\033[0;32m==>\033[0m Configuring example\n" | ||
cmake -G"Ninja Multi-Config" \ | ||
-DCMAKE_C_COMPILER=${{ matrix.cc }} \ | ||
-DCMAKE_CXX_COMPILER=${{ matrix.cc }} \ | ||
-DCMAKE_CXX_COMPILER=${{ matrix.cxx }} \ | ||
-DCMAKE_PREFIX_PATH="${GITHUB_WORKSPACE}/lib/cmake;C:/Miniconda/envs/test/Library;${GITHUB_WORKSPACE}/dependencies" \ | ||
-DBLA_VENDOR="All" \ | ||
${{ matrix.openmp-cmake-flags }} \ | ||
|
@@ -562,7 +579,7 @@ jobs: | |
cd build | ||
cmake -G"Ninja Multi-Config" \ | ||
-DCMAKE_C_COMPILER=${{ matrix.cc }} \ | ||
-DCMAKE_CXX_COMPILER=${{ matrix.cc }} \ | ||
-DCMAKE_CXX_COMPILER=${{ matrix.cxx }} \ | ||
-DCMAKE_PREFIX_PATH="${GITHUB_WORKSPACE}/lib/cmake;C:/Miniconda/envs/test/Library;${GITHUB_WORKSPACE}/dependencies" \ | ||
.. | ||
cmake --build . --config Release | ||
|
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
Oops, something went wrong.