File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,15 +24,16 @@ source module ci/lib/io.sh
2424
2525TIMEFORMAT=" ==> 🕑 vcpkg installed in %R seconds"
2626time {
27- VCPKG_RELEASE_VERSION=" 2021.05.12 "
27+ VCPKG_RELEASE_VERSION=" 6e024e744e7717c06ddacd5089401109c6298553 "
2828 VCPKG_ROOT_DIR=" ${HOME} /vcpkg-${VCPKG_RELEASE_VERSION} "
2929 io::log_h2 " Installing vcpkg ${VCPKG_RELEASE_VERSION} -> ${VCPKG_ROOT_DIR} "
3030 if [[ ! -d " ${VCPKG_ROOT_DIR} " ]]; then
3131 mkdir -p " ${VCPKG_ROOT_DIR} "
3232 # vcpkg needs git history to support versioning, so we clone a recent
3333 # release tag rather than just extracting a tarball without history.
34- git clone https://github.com/microsoft/vcpkg.git " ${VCPKG_ROOT_DIR} " \
35- -b " ${VCPKG_RELEASE_VERSION} "
34+ git clone https://github.com/microsoft/vcpkg.git " ${VCPKG_ROOT_DIR} "
35+ git -C " ${VCPKG_ROOT_DIR} " checkout " ${VCPKG_RELEASE_VERSION} "
36+ pwd
3637 fi
3738 env -C " ${VCPKG_ROOT_DIR} " CC=" ccache ${CC} " CXX=" ccache ${CXX} " \
3839 ./bootstrap-vcpkg.sh
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ brew list --versions pkg-config || brew install pkg-config
3131vcpkg_dir=" ${HOME} /vcpkg-quickstart"
3232mkdir -p " ${vcpkg_dir} "
3333io::log " Downloading vcpkg into ${vcpkg_dir} ..."
34- curl -sSL " https://github.com/microsoft/vcpkg/archive/2021.05.12 .tar.gz" |
34+ curl -sSL " https://github.com/microsoft/vcpkg/archive/6e024e744e7717c06ddacd5089401109c6298553 .tar.gz" |
3535 tar -C " ${vcpkg_dir} " --strip-components=1 -zxf -
3636(
3737 cd " ${vcpkg_dir} "
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ if ($args.count -ge 1) {
4848 $vcpkg_flags = (" --triplet" , " ${env: VCPKG_TRIPLET} " )
4949}
5050$vcpkg_dir = " cmake-out\${vcpkg_base} "
51- $vcpkg_version = " 2021.05.12 "
51+ $vcpkg_version = " 6e024e744e7717c06ddacd5089401109c6298553 "
5252$Env: VCPKG_FEATURE_FLAGS = " -manifests"
5353
5454New-Item - ItemType Directory - Path " cmake-out" - ErrorAction SilentlyContinue
You can’t perform that action at this time.
0 commit comments