-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
[Dexter] Replace clang with clang++ in various cross project tests #65987
base: main
Are you sure you want to change the base?
Conversation
This change looks good by itself, but we may need to additionally sneak in |
That sounds like a good candidate for some kind of system-dependent substitution; though I don't think any of the cross-project-tests right now (including the I also see that some of the tests that were XFAILed before due to greendragon test failures don't make use of |
I tried to add
Weirdly enough, when I run the same command line locally, it seems to work without an issue:
So I am not sure of what is going on |
@@ -2,7 +2,7 @@ | |||
// UNSUPPORTED: system-windows | |||
// XFAIL: system-darwin | |||
// | |||
// RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t | |||
// RUN: %clang++ -std=gnu++11 -O0 -g -lstdc++ %s -o %t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove -lstdc++
Since the issue had nothing to do with clang++, is this change needed? @SLTozer @adrian-prantl |
This patch attempts to fixup a set of tests in the cross-project-tests directory by replacing invocations of clang with clang++ for a set of c++ files. As a small additional change, this patch removes -lstdc++ from a test that did not appear to require it.
It's not needed to make the tests pass, but we should probably be invoking the right driver for tests where reasonable, so I think it's still worth landing now that it's done. |
9fcbde6
to
576b057
Compare
@SLTozer Was there a reason why this PR never got merged? |
Fell off my radar - it's not needed to fix any actual problems, it's just slightly better practice. I can't monitor the buildbots right now, but I'll merge it when I'm next able. |
This patch attempts to fixup a set of tests in the cross-project-tests directory by replacing invocations of clang with clang++ for a set of c++ files.
As a small additional change, this patch removes -lstdc++ from a test that did not appear to require it.