diff options
author | Derek Mauro <dmauro@google.com> | 2024-07-18 04:31:54 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-07-18 04:32:47 -0700 |
commit | 7795d0843a72b6c2994941763aee14519bbcfccd (patch) | |
tree | 5fc594700e36c8bab4cc781b65604c10b313c5d6 /CMake | |
parent | eb852207758a773965301d0ae717e4235fc5301a (diff) |
Update versions of dependencies in preparation for release
PiperOrigin-RevId: 653567769
Change-Id: I0448322da95558ff6a04ab1aeab2b238674b69d1
Diffstat (limited to 'CMake')
-rwxr-xr-x | CMake/install_test_project/test.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/CMake/install_test_project/test.sh b/CMake/install_test_project/test.sh index cc028bac..962bc8d2 100755 --- a/CMake/install_test_project/test.sh +++ b/CMake/install_test_project/test.sh @@ -22,7 +22,8 @@ set -euox pipefail absl_dir=/abseil-cpp absl_build_dir=/buildfs googletest_builddir=/googletest_builddir -project_dir="${absl_dir}"/CMake/install_test_project +googletest_archive="googletest-${ABSL_GOOGLETEST_VERSION}.tar.gz" +project_dir="${absl_dir}/CMake/install_test_project" project_build_dir=/buildfs/project-build build_shared_libs="OFF" @@ -33,9 +34,9 @@ fi # Build and install GoogleTest mkdir "${googletest_builddir}" pushd "${googletest_builddir}" -curl -L "${ABSL_GOOGLETEST_DOWNLOAD_URL}" --output "${ABSL_GOOGLETEST_COMMIT}".zip -unzip "${ABSL_GOOGLETEST_COMMIT}".zip -pushd "googletest-${ABSL_GOOGLETEST_COMMIT}" +curl -L "${ABSL_GOOGLETEST_DOWNLOAD_URL}" --output "${googletest_archive}" +tar -xz -f "${googletest_archive}" +pushd "googletest-${ABSL_GOOGLETEST_VERSION}" mkdir build pushd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS="${build_shared_libs}" .. |