Skip to content

Commit

Permalink
ci: update build to use nproc processor count
Browse files Browse the repository at this point in the history
  • Loading branch information
headblockhead authored Dec 14, 2024
1 parent cb9f87a commit 76014df
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 @@ -25,7 +25,7 @@ Builds a static archive library (`.a`).

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

### Build-debug
Expand All @@ -35,7 +35,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 @@ -46,7 +46,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 76014df

Please sign in to comment.