-
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
[bootstrap-vcpkg.sh] restore removed eval call #37047
Conversation
LGTM (I'm not authoritative though) |
Giving this a second, what's the point of using a cmake arguments variable (with or without nested quotes) here in the first place? I'm not a ninja expert, so if I want concurrent compilation, I pass If the job pool stuff doesn't do anything that
could be
where the eval statement is redundand because there's no nested quotes any more. Further, cmake 3.13 and newer have
Without the
A preset defining In case the job pool stuff doesn't do just simply the same thing Getting the Prefix into vcpkg-tool will take it's time though, so go ahead with this PR. |
@SchaichAlonso comments aside, I'm taking this PR since it quickly fixes an issue right now. |
There's a [string escaping madness in bootstrap.sh's cmake invokation around line 217, making the script difficult to maintain. I broke it before in PR microsoft#36828 which went into master undetected as it "worked over here" (tm) and isn't executed by the CI, but appearently it wouldn't work on arch linux' bash, resulting in PR microsoft#37047 . microsoft/vcpkg-tool#1380 introduces a CMake Preset that can take over the cmake CLI variable setup. This commit replaces the nested string composition by it's cmake-preset counterpart.
There's a [string escaping madness in bootstrap.sh's cmake invokation around line 217, making the script difficult to maintain. I broke it before in PR microsoft#36828 which went into master undetected as it "worked over here" (tm) and isn't executed by the CI, but appearently it wouldn't work on arch linux' bash, resulting in PR microsoft#37047 . microsoft/vcpkg-tool#1380 introduces a CMake Preset that can take over the cmake CLI variable setup. This commit replaces the nested string composition by it's cmake-preset counterpart.
As suggested in #37035 (comment)
cc @SchaichAlonso
Fixes #37035
Fixes #37045