-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix cmake clang build for sanitizers #2325
Conversation
We should keep the SConstruct in sync too. Adding a conditional to line 448 should work. |
Jenkins Build SummaryBuilt from this commit Built at 20180109 - 17:22:34 Test Results
|
See also #2082 for ASAN/TSAN related problems |
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.
👍
What's the correct way to enable one of the sanitizers? I tried
as suggested here: https://github.com/arsenm/sanitizers-cmake. Cmake responded:
so apparently that's not it. I have the same question for scons as well... |
@scottschurr ... for cmake, add this during generation |
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.
👍 Successfully built using cmake for TSAN and with scons for ASAN. Ran both resulting executables against the Flow unit test.
In 0.90.0-b5 |
This fixes the cmake clang sanitizer build. I've tried both sanitizers on mac and linux and all of them fail for me in some way, so I'm not adding either build to jenkins until I can resolve that.