-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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 script] ninja 1.12 #41980
[vcpkg script] ninja 1.12 #41980
Conversation
Fixes microsoft#38494 Resurrects microsoft#38538 Co-authored-by: xb284524239 <40262910+xb284524239@users.noreply.github.com>
android: Unrelated baseline regressions. windows: qt5-webengine
... proposal: add legacy ninja as a per-port download. |
Maybe we should skip it given qt5's status at this point. |
qt 5.15.16 was just released. qt5 will stay for a while, also for targeting older devices which cannot run the latest macOS or android (if only vcpkg would support cross builds for qt5). |
And marking qt5-webengine as Yeah, breaking one of the long-path victims by use of the new version of ninja which improves long-path issues is a nice dilemma. |
To be clear, I only mean qt5-webengine, not all of qt5. We are already considering skipping it because the |
@@ -1,17 +1,29 @@ | |||
set(program_name ninja) |
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.
I feel like this should use vcpkg fetch ninja
somehow so that the ninja in the executable and the ninja provided by the script are defined to be the same.
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.
They are different before this PR and the same with this PR ;-)
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.
I am still for using $ENV{VCPKG_COMMAND} fetch ninja
somehow instead of duplicating the download info.
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.
Me too, but I am not able to implement this change soon, and there is no example.
This PR should be merged in the next windows of no-baseline-regressions, instead of being delayed.
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.
set(program_name ninja) # Required by vcpkg_find_acquire_program logic
vcpkg_execute_in_download_mode(
COMMAND "$ENV{VCPKG_COMMAND}" fetch ninja
RESULT_VARIABLE error_code
OUTPUT_VARIABLE NINJA
WORKING_DIRECTORY "${DOWNLOADS}"
)
string(STRIP "${NINJA}" NINJA) # vcpkg output has a strange line endings and whitespaces in there?
#set(NINJA "${NINJA}" CACHE STRING "") # does not seem required.
you can replace the complete code with this.
Waiting for #42588. |
Since that PR was merged, is there anything else holding this back? |
All checks green 🎉 |
Now it probabaly has to wait for #43209 to land, for the tools xml->json transition. |
I don't think we need to wait for another world rebuild though. |
# Conflicts: # scripts/vcpkgTools.xml
The 2 build failures appear to be baseline issues, so I merged through them. |
Reprise from #39260.