Devcontainer: Set dynamic triplets for vcpkg cache feature

This ensures that when we set an overlay port directory for building
the vcpkg cache, we set the default (and host) triplet to match the
triplet files we have in each directory.
This commit is contained in:
Andrew Kaster 2025-07-15 15:00:16 -06:00 committed by Jelle Raaijmakers
commit 870915b594
Notes: github-actions[bot] 2025-07-16 07:52:19 +00:00

View file

@ -7,6 +7,11 @@ set -e
case "$(uname -m)" in
x86_64|x64)
export VCPKG_DEFAULT_TRIPLET=x64-linux-dynamic
;;
aarch64|arm64)
export VCPKG_DEFAULT_TRIPLET=arm64-linux-dynamic
export VCPKG_FORCE_SYSTEM_BINARIES=1
;;
*)
export VCPKG_FORCE_SYSTEM_BINARIES=1