diff options
Diffstat (limited to 'util/ci/build.sh')
-rwxr-xr-x | util/ci/build.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/util/ci/build.sh b/util/ci/build.sh index 435cc11da..88349b852 100755 --- a/util/ci/build.sh +++ b/util/ci/build.sh @@ -1,6 +1,10 @@ #! /bin/bash -e -cmake -B build -DCMAKE_BUILD_TYPE=Debug \ - -DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \ - -DBUILD_SERVER=TRUE ${CMAKE_FLAGS} +cmake -B build \ + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Debug} \ + -DRUN_IN_PLACE=TRUE \ + -DENABLE_GETTEXT=${CMAKE_ENABLE_GETTEXT:-TRUE} \ + -DBUILD_SERVER=${CMAKE_BUILD_SERVER:-TRUE} \ + ${CMAKE_FLAGS} + cmake --build build --parallel $(($(nproc) + 1)) |