From c13c2185225227d4d0434647150cd6cf31b81cb8 Mon Sep 17 00:00:00 2001 From: Kevin Lalumiere Date: Wed, 25 Aug 2021 23:36:28 -0400 Subject: [PATCH] [vcpkg] Add triplet option VCPKG_NO_COMPILER_TRACKING (#17526) --- docs/users/triplets.md | 4 ++++ scripts/vcpkg_get_tags.cmake | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/users/triplets.md b/docs/users/triplets.md index e1098a39a81..efc55ac2c0a 100644 --- a/docs/users/triplets.md +++ b/docs/users/triplets.md @@ -118,6 +118,10 @@ See the [`"supports"`](../maintainers/manifest-files.md#supports) manifest file > Implementers' Note: this list is extracted via the `vcpkg_get_dep_info` mechanism. +### VCPKG_DISABLE_COMPILER_TRACKING + +When this option is set to (true|1|on), the compiler is ignored in the abi tracking. + ## Windows Variables ### VCPKG_ENV_PASSTHROUGH diff --git a/scripts/vcpkg_get_tags.cmake b/scripts/vcpkg_get_tags.cmake index 09d938bbd9a..6a948d129eb 100644 --- a/scripts/vcpkg_get_tags.cmake +++ b/scripts/vcpkg_get_tags.cmake @@ -13,6 +13,7 @@ VCPKG_CHAINLOAD_TOOLCHAIN_FILE=${VCPKG_CHAINLOAD_TOOLCHAIN_FILE} VCPKG_BUILD_TYPE=${VCPKG_BUILD_TYPE} VCPKG_LIBRARY_LINKAGE=${VCPKG_LIBRARY_LINKAGE} VCPKG_CRT_LINKAGE=${VCPKG_CRT_LINKAGE} +VCPKG_DISABLE_COMPILER_TRACKING=${VCPKG_DISABLE_COMPILER_TRACKING} e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f") # Just to enforce the user didn't set it in the triplet file