-
Notifications
You must be signed in to change notification settings - Fork 296
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
switch to host triplet as the default. #640
Conversation
As I said back in #614 (and elsewhere), this is a change we can't make lightly because it breaks existing scripts (and our 'no changes means no changes' mantra). We have discussed doing this before back when VS2022 changed the default for new projects, and said that in order to do it we need:
|
Don't you have telemetry how many people actually still build x86 outside manifest mode? Most people probably already have Just make a big blog post with the release that the default triplet switched and add an extra message to bootstrap that the triplet has switched.... I really don't see a reason to give any grace period at all. New users have the problem to adapt. Old users probably don't care that much and know what they need to do. |
I think you can close this now because of #881 |
Just prints the warning does not do the change. But according to the warning something more sophisticated will be implemented? I'll keep this open until that more sophisticated stuff is actually implemented ;) |
It isn't any more sophisticated; it's just that the clock is now running on giving people reasonable warning that the change is happening. |
Ok the message gives the impression that at least the correct host default would be used, e.g. on arm64 it should be E.g. removing the |
Ah, maybe. I kinda forget arm64-windows exists 😅 |
# Conflicts: # include/vcpkg/triplet.h # src/vcpkg/commands.build.cpp # src/vcpkg/commands.check-support.cpp # src/vcpkg/commands.ci.cpp # src/vcpkg/commands.dependinfo.cpp # src/vcpkg/commands.export.cpp # src/vcpkg/commands.install.cpp # src/vcpkg/commands.remove.cpp # src/vcpkg/commands.set-installed.cpp # src/vcpkg/commands.upgrade.cpp # src/vcpkg/triplet.cpp
Don't know what to do about:
@BillyONeal: I tested with an official release and it also doesn't print the triplet with depend-info.
|
Ok figured out why. I had
is probably not what the test wanted to have or is it? (I currently assume that the test is generally broken an did not want to detect the warning) |
src/vcpkg/commands.export.cpp
Outdated
@@ -438,11 +438,6 @@ namespace vcpkg::Export | |||
return parse_package_spec( | |||
arg, default_triplet, default_triplet_used, COMMAND_STRUCTURE.get_example_text()); |
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.
Should the usage of
default_triplet, default_triplet_used
generally be removed?
I kind of let them in since removing then would create a large changeset.
Ah okay i misread I thought the idea was to emit the triplet for host deps or something in depend-info but actually the tests tells me that it is about warning itself. |
# Conflicts: # src/vcpkg/commands.build.cpp # src/vcpkg/commands.ci.cpp
This removes the 'in September 2023' message and does what the message said we would do. For the next 6 months we'll warn that the behavior changed. The specific change to triplet.cpp to change the triplet setting is from microsoft#640 Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
#1180) This removes the 'in September 2023' message and does what the message said we would do. For the next 6 months we'll warn that the behavior changed. The specific change to triplet.cpp to change the triplet setting is from #640 Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
https://twitter.com/augustin_popa/status/1549127848140480512 ....
(ready to be merged in september 2023 ;) )