Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vcpkg] Add triplet option VCPKG_NO_COMPILER_TRACKING #17526

Merged
merged 5 commits into from
Aug 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scripts/detect_compiler/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
if(VCPKG_NO_COMPILER_TRACKING)
string(SHA1 hash "nocompilertracking")
message("#COMPILER_HASH#${hash}")
message("#COMPILER_C_HASH#${hash}")
message("#COMPILER_C_VERSION#nocompilertracking")
message("#COMPILER_C_ID#nocompilertracking")
message("#COMPILER_CXX_HASH#${hash}")
message("#COMPILER_CXX_VERSION#nocompilertracking")
message("#COMPILER_CXX_ID#nocompilertracking")
return()
endif()

set(LOGS
${CURRENT_BUILDTREES_DIR}/config-${TARGET_TRIPLET}-out.log
${CURRENT_BUILDTREES_DIR}/config-${TARGET_TRIPLET}-rel-out.log
Expand Down