Skip to content

Commit ac296b3

Browse files
committed
macos cmake
1 parent 726fa5c commit ac296b3

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

ci/kokoro/lib/vcpkg.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ install_vcpkg() {
3232
io::log "Downloading vcpkg into ${vcpkg_dir}..."
3333
VCPKG_VERSION="$(<ci/etc/vcpkg-version.txt)"
3434
url="https://github.com/microsoft/vcpkg/archive/${VCPKG_VERSION}.tar.gz"
35-
if [[ "${VCPKG_VERSION}" =~ [0-9]{4}.[0-9]{2}.[0-9]{2} ]]; then
36-
# vcpkg uses date-like tags for releases
37-
url="https://github.com/microsoft/vcpkg/archive/refs/tags/${VCPKG_VERSION}.tar.gz"
38-
fi
35+
# if [[ "${VCPKG_VERSION}" =~ [0-9]{4}.[0-9]{2}.[0-9]{2} ]]; then
36+
# # vcpkg uses date-like tags for releases
37+
# url="https://github.com/microsoft/vcpkg/archive/refs/tags/${VCPKG_VERSION}.tar.gz"
38+
# fi
3939
ci/retry-command.sh 3 120 curl -fsSL "${url}" |
4040
tar -C "${vcpkg_dir}" --strip-components=1 -zxf -
4141

ci/kokoro/macos/builds/cmake-vcpkg.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ cmake_flags=(
8484
"-DGOOGLE_CLOUD_CPP_ENABLE=universe_domain"
8585
)
8686

87+
export VCPKG_OVERLAY_PORTS="ci\kokoro\windows\vcpkg-overlays"
88+
8789
# The downloads can fail, therefore require a retry loop.
8890
io::log_h2 "Download and compile dependencies using vcpkg"
8991
ci/retry-command.sh 3 120 \

0 commit comments

Comments
 (0)