From ba4050edd8f147fc3f32c341f7a72d127c7123dc Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Mon, 19 Aug 2024 17:38:53 +0900 Subject: [PATCH] address sanitizer --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 082d8445..89a1bcef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,7 +57,7 @@ jobs: ln -s `which gfortran-11` gfortran env PATH=`pwd`:$PATH cmake -DCONFIG=apple -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE else - cmake -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE + cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_FLAGS="-g -O0 -fsanitize=address -fno-omit-frame-pointer" $GITHUB_WORKSPACE fi env: HOMEBREW_PREFIX: /opt/homebrew