Skip to content

[build-tooling-libs] Don’t configure extra stdlib content #60092

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
Jul 20, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jul 18, 2022

Configuring extra stdlib toolchain content while not building the stdlib fails due to missing compatibility libraries.

@ahoppen ahoppen requested review from akyrtzi and rintaro July 18, 2022 12:29
@ahoppen
Copy link
Member Author

ahoppen commented Jul 18, 2022

@swift-ci Please smoke test

@@ -245,6 +245,8 @@ class Builder(object):
"-DSWIFT_BUILD_STATIC_STDLIB=FALSE",
"-DSWIFT_BUILD_DYNAMIC_SDK_OVERLAY=FALSE",
"-DSWIFT_BUILD_STATIC_SDK_OVERLAY=FALSE",
"-DSWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT=FALSE",
"-DSWIFT_BUILD_SYNTAXPARSERLIB=TRUE",
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe group

"-DSWIFT_BUILD_SYNTAXPARSERLIB=TRUE",

along with

cmake_args += [
            "-DSWIFT_BUILD_ONLY_SYNTAXPARSERLIB=TRUE",
            "-DSWIFT_BUILD_SYNTAXPARSERTEST=TRUE",
        ]

above, otherwise LGTM.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea. Changed it 👍

Configuring extra stdlib toolchain content while not building the stdlib fails due to missing compatibility libraries.
@ahoppen ahoppen force-pushed the pr/fix-build-tooling-libs branch from dfa4547 to b835b96 Compare July 18, 2022 22:34
@ahoppen
Copy link
Member Author

ahoppen commented Jul 18, 2022

@swift-ci Please smoke test

@ahoppen ahoppen merged commit 0b316f8 into swiftlang:main Jul 20, 2022
@ahoppen ahoppen deleted the pr/fix-build-tooling-libs branch July 20, 2022 07:49
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