Skip to content
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

Replace pushd/popd Calls With -S/-B CMake Flags in the Build System #94353

Merged
merged 7 commits into from
Nov 29, 2023
Merged

Replace pushd/popd Calls With -S/-B CMake Flags in the Build System #94353

merged 7 commits into from
Nov 29, 2023

Conversation

ivdiazsa
Copy link
Member

@ivdiazsa ivdiazsa commented Nov 3, 2023

Completes #93702. With our build system requiring at least CMake version 3.20, we can now use its -S and -B flags to choose source and build paths, rather than changing directories with pushd and popd. This PR adds this enhancement to the build system.

@ghost
Copy link

ghost commented Nov 3, 2023

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Completes #93702. With our build system requiring at least CMake version 3.20, we can now use its -S and -B flags to choose source and build paths, rather than changing directories with pushd and popd. This PR adds this enhancement to the build system.

Author: ivdiazsa
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ghost
Copy link

ghost commented Nov 3, 2023

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Completes #93702. With our build system requiring at least CMake version 3.20, we can now use its -S and -B flags to choose source and build paths, rather than changing directories with pushd and popd. This PR adds this enhancement to the build system.

Author: ivdiazsa
Assignees: ivdiazsa
Labels:

area-Infrastructure-coreclr

Milestone: -

@ivdiazsa
Copy link
Member Author

ivdiazsa commented Nov 3, 2023

Well it broke everything as I kind of expected. Now, currently investigating the issue 😄

@ivdiazsa
Copy link
Member Author

ivdiazsa commented Nov 6, 2023

Failure is unrelated, so this PR is now ready for review.

@ivdiazsa
Copy link
Member Author

/azp run runtime

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivdiazsa
Copy link
Member Author

Running the normal runtime pipeline to ensure this still works, since it's been a long while since it was tested.

Make sure we don't forget to return the cmake exist code, see #95408.
@ivdiazsa
Copy link
Member Author

Failures are unrelated to this change. Merging now.

@ivdiazsa ivdiazsa merged commit 9bb2b5b into dotnet:main Nov 29, 2023
186 of 191 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
3 participants