mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 13:43:45 +03:00
Meta: Fix that the processor count was output to stderr and ignored
Because of ninja's default behavior of using all processors this gave the correct behaviour because MAKEJOBS was empty. However this meant that the processor count was printed to stderr when building.
This commit is contained in:
parent
3192cabc0e
commit
6dd8ef485a
Notes:
sideshowbarker
2024-07-17 17:48:06 +09:00
Author: https://github.com/davidot Commit: https://github.com/SerenityOS/serenity/commit/6dd8ef485a Pull-request: https://github.com/SerenityOS/serenity/pull/12948
@ -220,7 +220,7 @@ build_target() {
|
||||
fi
|
||||
|
||||
# Get either the environement MAKEJOBS or all processors via CMake
|
||||
[ -z "$MAKEJOBS" ] && MAKEJOBS=$(cmake -P "$SERENITY_SOURCE_DIR/Meta/CMake/processor-count.cmake")
|
||||
[ -z "$MAKEJOBS" ] && MAKEJOBS=$(cmake -P "$SERENITY_SOURCE_DIR/Meta/CMake/processor-count.cmake" 2>&1)
|
||||
|
||||
# With zero args, we are doing a standard "build"
|
||||
# With multiple args, we are doing an install/image/run
|
||||
|
Loading…
Reference in New Issue
Block a user