-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Allow uname calls in download mode + Fix handling of files without RPATH #37129
Allow uname calls in download mode + Fix handling of files without RPATH #37129
Conversation
…e actually need it. In microsoft#36056 , things were changed to unconditionally patchelf when targeting Linux. Unfortunately that broke --only-downloads a lot of the time. This fixes that.
Note that you must ensure that I wonder if the result of |
Looking at the logs it seems like the |
It's harmless but would be nice to fix. |
I get |
Unix structure. If you are in |
Can you double check the test I added then since there's clearly something I'm misunderstanding here |
I feel like there is some variable being reused between runs. |
Ah the message is wrong: the refactor broke it. |
Fixed! |
looks ok now. It is just keeping already existing rpath settings. |
The only Linux failure matched https://dev.azure.com/vcpkg/public/_build/results?buildId=100228&view=results |
... and don't fetch patchelf unless we actually need it. For example cmake helper ports have no need to fetch patchelf.
In #36056 , things were changed to unconditionally patchelf when targeting Linux. Unfortunately that broke --only-downloads a lot of the time. This fixes that.
Also contains @Osyotr 's fixes from #37190 to coalesce world rebuilds a bit, so repeating comments from there:
Fixes #37183
Towards #25668