-
Notifications
You must be signed in to change notification settings - Fork 287
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
Introduce VCPKG_HASH_ADDITIONAL_FILES #797
Conversation
azure-pipelines/e2e_ports/hash-additional/vcpkg-test-hash-additional/vcpkg.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me. Before merging, we also need a PR into vcpkg-docs
that documents the behavior.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
azure-pipelines/e2e_ports/hash-additional/vcpkg-test-hash-additional/portfile.cmake
Outdated
Show resolved
Hide resolved
@ras0219-msft Is there still something which needs to be done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, though I need to get it approved by the team design review.
# Conflicts: # include/vcpkg/commands.build.h # src/vcpkg/cmakevars.cpp # src/vcpkg/commands.build.cpp
# Conflicts: # src/vcpkg/commands.build.cpp # src/vcpkg/tools.cpp
@ras0219-msft Any update? |
- fix typo - rephrase description sentence Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
@vicroms @ras0219-msft: ping for update |
Ok, the team met today and we agree with this mechanism. We did touch on the edge cases specifically: we like relative paths, nonexistent files, and directories being errors. Some code has changed since the last code review, so once we complete a review of the changes, this is good to go! |
@ras0219-msft @vicroms ping |
# Conflicts: # src/vcpkg/commands.build.cpp
Allows to define additional files which should be included in the abi hash via setting
VCPKG_HASH_ADDITIONAL_FILES
to a list of files for inclusion.Bonus: Fixed some compiler warnings I got using clang-clcloses microsoft/vcpkg#26863