From 36356805a4eec8363fc4f689aa34856f9ed1c304 Mon Sep 17 00:00:00 2001 From: Edward Hesketh Date: Sat, 14 Dec 2024 22:25:51 +0000 Subject: [PATCH] ci: update build to use nproc processor count (#3) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1eabe01..016463e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Builds a static archive library (`.a`). ```bash cmake -DCMAKE_BUILD_TYPE=Release .. -make -j4 +make -j$(nproc) ``` ### Build-debug @@ -37,7 +37,7 @@ Builds the library with debug build type. ```bash cmake -DCMAKE_BUILD_TYPE=Debug .. -make -j4 +make -j$(nproc) cp compile_commands.json ../ # Copies the autocomplete information for ccls. ``` @@ -48,7 +48,7 @@ Tests the library ```bash cmake -DCMAKE_BUILD_TYPE=Testing .. -make -j4 +make -j$(nproc) ctest -T Test -T Coverage --output-on-failure . ```