From aab1df50abbf2cd3da7837e7b457b943907a0b3e Mon Sep 17 00:00:00 2001 From: thejch <66577496+thejch@users.noreply.github.com> Date: Tue, 23 Apr 2024 01:02:51 -0700 Subject: CI: add no PCH build (#5708) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 432dd4eb..cd93173b 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ debug: cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` chmod -R 777 ./build +nopch: + cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -S . -B ./build -G Ninja + cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` + clear: rm -rf build rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c -- cgit v1.2.3