-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[OpenMP][omptest] Improve CMake and address review comments #159416
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
base: main
Are you sure you want to change the base?
Conversation
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.
I'm not of much help here.
Our flang built with libcxx bot has been broken since #154786 landed, that's our fault for leaving it so long. So I've just got to trying this in case it helped, and I get:
I think this is happening because the include paths are added for
Does that make sense to you? |
The cmake command I'm using:
Perhaps it's having it as a runtime that creates the problem but I expect that's the default now. |
Avoid explicit ABI breaking check deactivation Replace whole-archive linking with dedicated build of GoogleTest lib
32b8b25
to
f431aa9
Compare
@DavidSpickett Apologies for breaking your bot, honestly did not notice :/
Yes, I think that makes sense. Now, I have added the include directories to the Thank you for bringing this to my attention and taking the time to analyze. |
I just got back to Without this patch, I ran into liker errors when I tested it. With this patch, it works and I can execute the unit tests. |
No worries, we would have done the investigation for you anyway because it's a rather involved build process.
Oh yeah, this has happened pretty often so that explains it. Going to test the build again today. |
This PR gets our build past the first stage. I'm not sure about the rest because it's been broken so long I don't have examples of the commands. So this may not fix all of our issues, but that's on me to figure out. If this works for @jplehr and the rest of the reviewers, then please go ahead with these changes and I will deal with whatever the result is on the bot. |
@nikic If you find the time to look at this, that would be very helpful :) |
Avoid explicit ABI breaking check deactivation
Replace whole-archive linking with dedicated build of GoogleTest lib
Addresses remaining post-merge review comments of #154786