Remove glog and gflags from the CI workflows

Change-Id: I94199ddcbd105b33a8401366dd0d952cc79ec755
This commit is contained in:
Sameer Agarwal
2024-07-18 15:40:28 -07:00
parent 968079f9fa
commit ba6b678b23
4 changed files with 1 additions and 119 deletions
+1 -60
View File
@@ -83,65 +83,6 @@ jobs:
--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 @@ jobs:
-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
-2
View File
@@ -41,8 +41,6 @@ jobs:
libbenchmark-dev \
libblas-dev \
libeigen3-dev \
libgflags-dev \
libgoogle-glog-dev \
liblapack-dev \
libmetis-dev \
libsuitesparse-dev \
-2
View File
@@ -47,8 +47,6 @@ jobs:
brew install \
ccache \
eigen \
gflags \
glog \
google-benchmark \
metis \
ninja \
-55
View File
@@ -35,8 +35,6 @@ jobs:
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 @@ jobs:
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 @@ jobs:
- 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