Skip to content

Commit f779f4a

Browse files
committed
ci(macOS): Remove unneeded CMAKE_BUILD_PARALLEL_LEVEL
Ninja builds are always run in parallel, based by default on the number of CPUs the system has.
1 parent 2ca5266 commit f779f4a

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

.github/workflows/macos.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
env:
3737
VERBOSE: 1
3838
run: |
39-
export CMAKE_BUILD_PARALLEL_LEVEL=$(sysctl -n hw.logicalcpu)
4039
cmake . --warn-uninitialized --warn-unused-vars \
4140
-G Ninja -B build \
4241
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
@@ -102,7 +101,6 @@ jobs:
102101
env:
103102
VERBOSE: 1
104103
run: |
105-
export CMAKE_BUILD_PARALLEL_LEVEL=$(sysctl -n hw.logicalcpu)
106104
cmake . --warn-uninitialized --warn-unused-vars \
107105
-B build -G Ninja \
108106
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \

docs/build_on_macos.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ git clone https://github.com/nuttyartist/notes.git --recurse-submodules
2626
cd notes
2727
```
2828

29-
Optionally, if you want to dedicate all cores of your CPU to build Notes much faster, set this environment variable:
30-
31-
```shell
32-
export CMAKE_BUILD_PARALLEL_LEVEL=$(sysctl -n hw.logicalcpu)
33-
```
34-
3529
After that, we're ready to build Notes!
3630

3731
Invoke CMake to configure and build the project into a folder called `build`, in [`Release` mode](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html):

0 commit comments

Comments
 (0)