Remove glog and gflags from the CI workflows
Change-Id: I94199ddcbd105b33a8401366dd0d952cc79ec755
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 1c76c85..08babae 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -83,65 +83,6 @@
--config ${{matrix.build_type}} \
--target install
- - name: Cache gflags
- id: cache-gflags
- uses: actions/cache@v4
- with:
- path: gflags/
- key: NDK-${{matrix.os}}-gflags-2.2.2-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}
-
- - name: Download gflags
- if: steps.cache-gflags.outputs.cache-hit != 'true'
- run: |
- wget https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.zip
- unzip v2.2.2.zip
-
- - name: Setup gflags
- if: steps.cache-gflags.outputs.cache-hit != 'true'
- run: |
- cmake -S gflags-2.2.2 -B build-gflags \
- -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} \
- -DBUILD_TESTING=OFF \
- -DCMAKE_ANDROID_API=${{matrix.android_api_level}} \
- -DCMAKE_ANDROID_ARCH_ABI=${{matrix.abi}} \
- -DCMAKE_ANDROID_STL_TYPE=c++_shared \
- -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
- -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/gflags \
- -DCMAKE_SYSTEM_NAME=Android
- cmake --build build-gflags \
- --config ${{matrix.build_type}} \
- --target install
-
- - name: Cache glog
- id: cache-glog
- uses: actions/cache@v4
- with:
- path: glog/
- key: NDK-${{matrix.os}}-glog-0.5-${{matrix.abi}}-${{matrix.build_type}}-${{matrix.lib}}
-
- - name: Download glog
- if: steps.cache-glog.outputs.cache-hit != 'true'
- run: |
- wget https://github.com/google/glog/archive/refs/tags/v0.5.0.zip
- unzip v0.5.0.zip
-
- - name: Setup glog
- if: steps.cache-glog.outputs.cache-hit != 'true'
- run: |
- cmake -S glog-0.5.0 -B build-glog \
- -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} \
- -DBUILD_TESTING=OFF \
- -DCMAKE_ANDROID_API=${{matrix.android_api_level}} \
- -DCMAKE_ANDROID_ARCH_ABI=${{matrix.abi}} \
- -DCMAKE_ANDROID_STL_TYPE=c++_shared \
- -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
- -DCMAKE_FIND_ROOT_PATH=${{github.workspace}}/gflags \
- -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/glog \
- -DCMAKE_SYSTEM_NAME=Android
- cmake --build build-glog \
- --config ${{matrix.build_type}} \
- --target install
-
- name: Cache Build
id: cache-build
uses: actions/cache@v4
@@ -165,7 +106,7 @@
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_C_COMPILER_LAUNCHER=$(which ccache) \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
- -DCMAKE_FIND_ROOT_PATH="${{github.workspace}}/eigen;${{github.workspace}}/gflags;${{github.workspace}}/glog" \
+ -DCMAKE_FIND_ROOT_PATH="${{github.workspace}}/eigen" \
-DCMAKE_SYSTEM_NAME=Android
- name: Build
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 40640b4..d155e59 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -41,8 +41,6 @@
libbenchmark-dev \
libblas-dev \
libeigen3-dev \
- libgflags-dev \
- libgoogle-glog-dev \
liblapack-dev \
libmetis-dev \
libsuitesparse-dev \
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index bca7a1c..344eef3 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -47,8 +47,6 @@
brew install \
ccache \
eigen \
- gflags \
- glog \
google-benchmark \
metis \
ninja \
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index fe630f6..605d4bc 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -35,8 +35,6 @@
mingw-w64-${{matrix.env}}-cmake
mingw-w64-${{matrix.env}}-eigen3
mingw-w64-${{matrix.env}}-gcc
- mingw-w64-${{matrix.env}}-gflags
- mingw-w64-${{matrix.env}}-glog
${{matrix.sys == 'mingw64' && format('mingw-w64-{0}-metis', matrix.env) || ''}}
mingw-w64-${{matrix.env}}-ninja
mingw-w64-${{matrix.env}}-suitesparse
@@ -144,55 +142,6 @@
echo "cudss_DIR=$CUDSS_PATH/lib/cmake/cudss" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
echo "$CUDSS_PATH/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- - name: Cache gflags
- id: cache-gflags
- uses: actions/cache@v4
- with:
- path: gflags/
- key: ${{matrix.msvc}}-gflags-2.2.2-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
-
- - name: Download gflags
- if: steps.cache-gflags.outputs.cache-hit != 'true'
- run: |
- (New-Object System.Net.WebClient).DownloadFile("https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.zip", "v2.2.2.zip");
- Expand-Archive -Path v2.2.2.zip -DestinationPath .;
-
- - name: Setup gflags
- if: steps.cache-gflags.outputs.cache-hit != 'true'
- run: |
- cmake -S gflags-2.2.2 -B build-gflags `
- -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} `
- -DBUILD_TESTING=OFF `
- -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/gflags
- cmake --build build-gflags `
- --config ${{matrix.build_type}} `
- --target install
-
- - name: Cache glog
- id: cache-glog
- uses: actions/cache@v4
- with:
- path: glog/
- key: ${{matrix.msvc}}-glog-0.6.0-${{matrix.arch}}-${{matrix.build_type}}-${{matrix.lib}}
-
- - name: Download glog
- if: steps.cache-glog.outputs.cache-hit != 'true'
- run: |
- (New-Object System.Net.WebClient).DownloadFile("https://github.com/google/glog/archive/refs/tags/v0.6.0.zip", "v0.6.0.zip");
- Expand-Archive -Path v0.6.0.zip -DestinationPath .;
-
- - name: Setup glog
- if: steps.cache-glog.outputs.cache-hit != 'true'
- run: |
- cmake -S glog-0.6.0 -B build-glog `
- -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} `
- -DBUILD_TESTING=OFF `
- -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/glog `
- -DCMAKE_PREFIX_PATH=${{github.workspace}}/gflags
- cmake --build build-glog `
- --config ${{matrix.build_type}} `
- --target install
-
- name: Cache SuiteSparse
id: cache-suitesparse
uses: actions/cache@v4
@@ -234,14 +183,10 @@
- name: Setup Build Environment
run: |
echo "Eigen3_ROOT=${{github.workspace}}/eigen" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- echo "gflags_ROOT=${{github.workspace}}/gflags" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- echo "glog_ROOT=${{github.workspace}}/glog" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
echo "CMAKE_PREFIX_PATH=${{github.workspace}}/suitesparse" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Setup Runtime Environment
run: |
- echo '${{github.workspace}}\gflags\bin' | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- echo '${{github.workspace}}\glog\bin' | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo '${{github.workspace}}\suitesparse\bin' | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Configure