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

Simple test to do clang/asan builds on gz-math #647

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

mjcarroll
Copy link
Contributor

Inspired by robotlocomotion/drake's approach

Inspired by robotlocomotion/drake's approach

Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
build:clang --host_action_env=CC=clang-15
build:clang --host_action_env=CXX=clang++-15

### ASan build. Clang only. ###
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: consider adding that both --config asan --config clang need to be passed to bazel

@@ -0,0 +1,5 @@
sh_binary(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: consider adding a docstring on how this can be run locally
bazel run --config asan --config clang tools:asan?

@ahcorde ahcorde enabled auto-merge (squash) November 15, 2024 21:31
@ahcorde ahcorde merged commit 757ead0 into gz-math8 Nov 15, 2024
14 checks passed
@ahcorde ahcorde deleted the mjcarroll/bazel_asan branch November 15, 2024 21:54
@mjcarroll
Copy link
Contributor Author

whoops. @ahcorde I think I actually found a better way of doing this. I'm going to revert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants