Skip to content

Commit bd5b5c4

Browse files
authored
turn of PCH with clazy (#1432)
* fix brew warning in CI. github hosted mac runners include ninja. * turn off pch with clazy. although we never noticed any problems with pch enabled, the clazy recommendation is to turn off PCH when using clazy.
1 parent 69093d7 commit bd5b5c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_extra_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ rm -rf bld-clazy
4646
mkdir bld-clazy
4747
pushd bld-clazy
4848
export CLAZY_CHECKS=level0,level1,no-non-pod-global-static,no-qstring-ref
49-
cmake -DCMAKE_CXX_COMPILER=clazy -DCMAKE_BUILD_TYPE=Debug -G Ninja "${SOURCE_DIR}"
49+
cmake -DCMAKE_CXX_COMPILER=clazy -DCMAKE_BUILD_TYPE=Debug -DGPSBABEL_ENABLE_PCH=OFF -G Ninja "${SOURCE_DIR}"
5050
cmake --build . 2>&1 | tee clazy.log
5151
if grep -- '-Wclazy' clazy.log; then
5252
exit 1

0 commit comments

Comments
 (0)