-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 baseline][vcpkg_configure_make] Pass make tool to vcpkg_build_make
#19361
Conversation
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 is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
Error: Local changes detected for gettext but no changes to version or port version.
-- Version: 0.21#4
-- Old SHA: b6cde01ab4095a258993eaf85eb31c1e845c64a6
-- New SHA: b3d90d5c4b8c12645cc11ec9cb0c515e96061324
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
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 is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
Error: Local changes detected for gettext but no changes to version or port version.
-- Version: 0.21#4
-- Old SHA: b6cde01ab4095a258993eaf85eb31c1e845c64a6
-- New SHA: cb7daf9630824a6fc374cccd33249df5be905381
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
@dg0yt add |
From x64-windows-static, edited for readability:
Facts:
CC @JackBoosY |
The other option is to set |
vcpkg_build_make
For discussion: Use a public global |
With regard to OpenBSD, this PR would accept |
Can you please merge the starlink-ast part of the code in #19325 to this branch after ci test? |
Okay.
|
vcpkg_build_make
vcpkg_build_make
@dg0yt Please merge starlink-ast changes when x64-windows test finished. |
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 is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout bd5ea16b97e91cb620fed0e10b7d9b3a8a943a52 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index cf5bb06..81c3a2a 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6090,7 +6090,7 @@
},
"starlink-ast": {
"baseline": "9.2.4",
- "port-version": 0
+ "port-version": 1
},
"status-code": {
"baseline": "1.0.0-ab3cd821",
diff --git a/versions/s-/starlink-ast.json b/versions/s-/starlink-ast.json
index f357f55..a724950 100644
--- a/versions/s-/starlink-ast.json
+++ b/versions/s-/starlink-ast.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "2fecd468269d73b6e8f29a297c4f7db771ea37c4",
+ "version-semver": "9.2.4",
+ "port-version": 1
+ },
{
"git-tree": "50f0b71ca66bd9e4ce6cb5a153e25878dd7a0600",
"version-semver": "9.2.4",
x64_windows_static: The failing port is tcl, which doesn't use the changed scripts for windows.
|
LGTM on my side, ping @dan-shaw for review and merge this PR first. |
Since this fixes the same thing as #19418, and this is a better fix, merging this instead of that. |
What does your PR fix?
This PR amends [vcpkg_build_make] Always use msys make on win32 host #19164 which could unexpectedly change the
make
tool location to a second MSYS root, acquired invcpkg_build_make
, in addition to the one created invcpkg_configure_make
. The usage of different MSYS roots in configure and build will lead to different mapping of POSIX-style paths (/usr/bin
etc.), possibly causing strange msys build errors such as [gettext] build failure #19337 (gettext).With this PR, the
make
tool is discovered and set as part ofvcpkg_configure_make
. Whenvcpkg_build_make
is used together withvcpkg_configure_make
, it no longer needs to acquire an MSYS root. However, this capability is left for compatibility with portfile which do not usevcpkg_configure_make
.Which triplets are supported/not supported? Have you updated the CI baseline?
All, no.
Note that apart from changes for windows (MSYS2), there is also a change for other systems, merging the previousfind_program
calls forgmake
andmake
.Does your PR follow the maintainer guide?
yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?No ports changed.