Skip to content

Interop: use new target-clangxx for building C++ code #35355

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 12, 2021

Conversation

compnerd
Copy link
Member

This enables control over the C++ flags used during testing for the C++
interop from a single location rather than having to alter all the
tests.

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: @hlopko @zoecarver

Copy link
Contributor

@zoecarver zoecarver left a comment

Choose a reason for hiding this comment

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

This is great, thanks!

@hlopko
Copy link
Contributor

hlopko commented Jan 12, 2021

Makes sense, thanks! Do you want to make c++11 the default? We wrote many tests assuming higher than that.

@compnerd
Copy link
Member Author

@hlopko I think that C++11 is best to assume (that is the default target for the associated clang). I think that if we are testing a specific C++ version feature, we can always bump to a higher version individually.

This enables control over the C++ flags used during testing for the C++
interop from a single location rather than having to alter all the
tests.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd merged commit 9688a55 into swiftlang:main Jan 12, 2021
@compnerd compnerd deleted the target-clangxx branch January 12, 2021 19:40
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.

3 participants