Skip to content

Commit

Permalink
ci: update build to use nproc processor count (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
headblockhead authored Dec 14, 2024
1 parent 9b454d9 commit 3635680
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Builds a static archive library (`.a`).

```bash
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4
make -j$(nproc)
```

### Build-debug
Expand All @@ -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.
```

Expand All @@ -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 .
```

Expand Down

0 comments on commit 3635680

Please sign in to comment.