Skip to content
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

Add sanitizer check for C++ compilation in Makefile #1323

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

bmcdonald3
Copy link
Contributor

This PR adds a check to see if the Chapel executable was built
with sanitizers and, if it is, it will also compile the Arrow C++
code with those sanitizers. This change will help with nightly
sanitizer testing.

Closes #1322

This PR adds a check to see if the Chapel executable was built
with sanitizers and, if it is, it will also compile the Arrow C++
code with those sanitizers. This change will help with nightly
sanitizer testing.
Copy link
Contributor

@ronawho ronawho left a comment

Choose a reason for hiding this comment

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

What's here looks good. Are you planning a followup to build the dependencies with sanitizers enabled?

@bmcdonald3
Copy link
Contributor Author

@ronawho Were you imagining that all the dependencies would be built with sanitizers enabled? If so, I would put that as a new follow up PR. If only Arrow, I would include that in this PR I think.

On the other hand, it could be good to get some runs working with this simpler form before making more code changes?

@ronawho
Copy link
Contributor

ronawho commented Apr 22, 2022

Yeah, I was thinking we should build all deps with sanitizers enabled. Saving that for another PR sounds fine.

@mhmerrill mhmerrill merged commit 45debe5 into Bears-R-Us:master Apr 25, 2022
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.

Compile C++ code with sanitizers if the server is being built with sanitizers
4 participants