зеркало из https://github.com/microsoft/verona.git
Don't track the compiler version on platforms with stable ABIs.
This commit is contained in:
Родитель
3205edbaf5
Коммит
98c17c0b79
|
@ -2,12 +2,20 @@
|
|||
# can be used by CI to ensure that we're able to use the versions from the
|
||||
# cache.
|
||||
if (NOT DEFINED FIXED_VCPKG_VERSION)
|
||||
set(FIXED_VCPKG_VERSION master)
|
||||
set(FIXED_VCPKG_ZIP refs/heads/master)
|
||||
set(FIXED_VCPKG_VERSION master)
|
||||
set(FIXED_VCPKG_ZIP refs/heads/master)
|
||||
else()
|
||||
set(FIXED_VCPKG_ZIP ${FIXED_VCPKG_VERSION})
|
||||
set(FIXED_VCPKG_ZIP ${FIXED_VCPKG_VERSION})
|
||||
endif ()
|
||||
|
||||
# On non-Windows platforms, where we have a stable ABI across compiler
|
||||
# versions, don't use the hash of the compiler in determining the ID of a
|
||||
# cached binary. Allows us to use the same build of LLVM for different clang /
|
||||
# gcc versions on the same OS.
|
||||
if (NOT WIN32)
|
||||
set(VCPKG_DISABLE_COMPILER_TRACKING ON)
|
||||
endif()
|
||||
|
||||
# Not used yet, but we may want to add custom triplets for ASAN and so on.
|
||||
#set("VCPKG_OVERLAY_TRIPLETS" "${CMAKE_SOURCE_DIR}/overlay-triplets")
|
||||
set("VCPKG_OVERLAY_PORTS" "${CMAKE_SOURCE_DIR}/overlay-ports")
|
||||
|
|
Загрузка…
Ссылка в новой задаче