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

Introduce VCPKG_HASH_ADDITIONAL_FILES #797

Merged
merged 29 commits into from
Mar 19, 2024

Conversation

Neumann-A
Copy link
Contributor

@Neumann-A Neumann-A commented Nov 8, 2022

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-cl

closes microsoft/vcpkg#26863

Copy link
Contributor

@ras0219-msft ras0219-msft left a 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.

src/vcpkg/build.cpp Outdated Show resolved Hide resolved
src/vcpkg/build.cpp Outdated Show resolved Hide resolved
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
@Neumann-A
Copy link
Contributor Author

@ras0219-msft Is there still something which needs to be done?

Copy link
Contributor

@ras0219-msft ras0219-msft left a 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.

src/vcpkg/build.cpp Outdated Show resolved Hide resolved
# Conflicts:
#	src/vcpkg/commands.build.cpp
#	src/vcpkg/tools.cpp
@Neumann-A
Copy link
Contributor Author

@ras0219-msft Any update?

- fix typo
- rephrase description sentence

Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
locales/messages.json Outdated Show resolved Hide resolved
locales/messages.json Outdated Show resolved Hide resolved
@Neumann-A
Copy link
Contributor Author

@vicroms @ras0219-msft: ping for update

@ras0219-msft
Copy link
Contributor

ras0219-msft commented Jan 16, 2024

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!

@Neumann-A
Copy link
Contributor Author

@ras0219-msft @vicroms ping

@vicroms vicroms merged commit 2330565 into microsoft:main Mar 19, 2024
5 checks passed
@Neumann-A Neumann-A deleted the hash_files_via_triplet branch March 19, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants