Skip to content

Commit

Permalink
Add asan-enabled build container.
Browse files Browse the repository at this point in the history
  • Loading branch information
jblueh committed Mar 19, 2024
1 parent 8b872f0 commit 731540a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/Dockerfile.asan
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ARG BASE_IMAGE=ghcr.io/su2code/su2/build-su2:220614-1237

FROM $BASE_IMAGE

# Enable address sanitizer
ENV CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer $CXXFLAGS"
ENV CFLAGS="-fsanitize=address -fno-omit-frame-pointer $CFLAGS"

0 comments on commit 731540a

Please sign in to comment.