Skip to content

Commit

Permalink
update run_tests compiler versions, suppress psabi warning
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 606524109
  • Loading branch information
jan-wassenberg authored and copybara-github committed Feb 13, 2024
1 parent 8965b48 commit 8801776
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ else()
# Warnings
-Wall
-Wextra
-Wno-psabi
# These are not included in Wall nor Wextra:
-Wconversion
-Wsign-conversion
Expand Down
6 changes: 3 additions & 3 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ cmake .. -DHWY_WARNINGS_ARE_ERRORS:BOOL=ON -DCMAKE_BUILD_TYPE=Release
make -j && ctest -j && cd .. && rm -rf build

#######################################
echo DEBUG Clang 9
echo DEBUG Clang 13
rm -rf build_dbg && mkdir build_dbg && cd build_dbg
CXX=clang++-9 CC=clang-9 cmake .. -DHWY_WARNINGS_ARE_ERRORS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug
CXX=clang++-13 CC=clang-13 cmake .. -DHWY_WARNINGS_ARE_ERRORS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug
make -j && ctest -j && cd .. && rm -rf build_dbg

#######################################
Expand All @@ -26,7 +26,7 @@ CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 CXX=g++ CC=gcc cmake .. -DHWY_WARNINGS_AR
make -j && ctest -j && cd .. && rm -rf build_32

#######################################
for VER in 10 11 12; do
for VER in 11 12 13; do
echo GCC $VER
rm -rf build_g$VER && mkdir build_g$VER && cd build_g$VER
CC=gcc-$VER CXX=g++-$VER cmake .. -DHWY_WARNINGS_ARE_ERRORS:BOOL=ON -DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit 8801776

Please sign in to comment.