From 731540ac7b1189340cd3c10977a25a7ba2c7c4f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Tue, 19 Mar 2024 19:10:10 +0100 Subject: [PATCH] Add asan-enabled build container. --- build/Dockerfile.asan | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 build/Dockerfile.asan diff --git a/build/Dockerfile.asan b/build/Dockerfile.asan new file mode 100644 index 0000000..94368ed --- /dev/null +++ b/build/Dockerfile.asan @@ -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"