File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 6666 - SIMD : AVX2
6767 STATIC : 0
6868 MPI : 0
69- BUILD_TYPE : ASanOpt
69+ BUILD_TYPE : ASan
7070
7171 steps :
7272 - uses : actions/checkout@v4
@@ -90,20 +90,15 @@ jobs:
9090 cd build
9191 export CC=gcc-12
9292 export CXX=g++-12
93- WERROR=1
94- if [ "${{ matrix.BUILD_TYPE }}" = "ASanOpt" ]; then
95- WERROR=0
96- fi
97- echo "WERROR=" $WERROR
9893 if [ "${{ matrix.STATIC }}" -eq "1" ]; then
9994 cmake -DHAVE_SANITIZER=1 -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -DHAVE_TESTS=1 \
10095 -DBUILD_SHARED_LIBS=OFF \
10196 -DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc \
10297 -static-libstdc++" -DCMAKE_FIND_LIBRARY_SUFFIXES=".a" \
103- -DENABLE_WERROR=$WERROR -DHAVE_${{ matrix.SIMD }}=1 -DHAVE_MPI=${{ matrix.MPI }} ..
98+ -DENABLE_WERROR=1 -DHAVE_${{ matrix.SIMD }}=1 -DHAVE_MPI=${{ matrix.MPI }} ..
10499 else
105100 cmake -DHAVE_SANITIZER=1 -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} -DHAVE_TESTS=1 \
106- -DENABLE_WERROR=0 -DHAVE_${{ matrix.SIMD }}=1 -DHAVE_MPI=${{ matrix.MPI }} ..
101+ -DENABLE_WERROR=1 -DHAVE_${{ matrix.SIMD }}=1 -DHAVE_MPI=${{ matrix.MPI }} ..
107102 fi
108103 make -j $(nproc --all)
109104
You can’t perform that action at this time.
0 commit comments