Skip to content

build-script: generate options (NFC) #29342

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

Merged
merged 1 commit into from
Jan 22, 2020
Merged

Conversation

compnerd
Copy link
Member

Rather than individually list the options, generate the options which
ensures that options are more uniform and makes it easier to alter them
globally.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

CC: @Rostepher @edymtt @xiaobai

@compnerd
Copy link
Member Author

@swift-ci please smoke test

libicu-cmake-options "" "CMake options used for all libicu targets"
llbuild-cmake-options "" "CMake options used for all llbuild targets"
lldb-cmake-options "" "CMake options used for all lldb targets"
llvm-cmake-options "" "CMake options used for all llvm targets"
ninja-cmake-options "" "CMake options used for all ninja targets"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, looks like ninja has a duplicate option here. Not that we need to fix it in this PR, just pointing it out.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I realized that too, and will remove that in a follow up. This is part of the motivation of re-structuring the options - it allows the opportunity to clean this up.

Rather than individually list the options, generate the options which
ensures that options are more uniform and makes it easier to alter them
globally.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please smoke test Linux platform

Copy link
Contributor

@Rostepher Rostepher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thanks for simplifying these options!

@compnerd compnerd merged commit 3c95348 into swiftlang:master Jan 22, 2020
@compnerd compnerd deleted the bs-options branch January 22, 2020 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants