Enable SuiteSparse in Github workflows Since SuiteSparse support became opt-in, the CI workflows still install SuiteSparse but no longer enable it. As a result, the SuiteSparse solvers and single precision CHOLMOD factorization were silently excluded from all CI builds, even with a recent SuiteSparse release available. Explicitly opt in wherever SuiteSparse is provided so that these code paths are built and tested again. Change-Id: Ia2eee0d68ec74e4b4404510ca81a524f03e0be07
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index dc3d8b4..2b75c9d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml
@@ -125,7 +125,8 @@ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_C_COMPILER_LAUNCHER=$(which ccache) \ -DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \ - -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install \ + -DWITH_SUITESPARSE=ON - name: Build run: |
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index eee89ff..bba4754 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml
@@ -85,7 +85,8 @@ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_C_COMPILER_LAUNCHER=$(which ccache) \ -DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \ - -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install \ + -DWITH_SUITESPARSE=ON - name: Build run: |
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5a01158..6f4eb0f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml
@@ -60,6 +60,7 @@ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_C_COMPILER_LAUNCHER:FILEPATH=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=ccache \ + -DWITH_SUITESPARSE=ON \ -G Ninja - name: Build @@ -191,7 +192,8 @@ -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} ` -DCMAKE_CONFIGURATION_TYPES=${{matrix.build_type}} ` -DCMAKE_INSTALL_PREFIX:PATH=${{github.workspace}}/install ` - -DLAPACK_lapack_LIBRARY=${{github.workspace}}/suitesparse/lib/liblapack.lib + -DLAPACK_lapack_LIBRARY=${{github.workspace}}/suitesparse/lib/liblapack.lib ` + -DWITH_SUITESPARSE=ON - name: Build run: |