diff options
Diffstat (limited to 'packaging/build-package.sh')
-rwxr-xr-x | packaging/build-package.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packaging/build-package.sh b/packaging/build-package.sh index ea50f4438..453e167f4 100755 --- a/packaging/build-package.sh +++ b/packaging/build-package.sh @@ -18,7 +18,7 @@ SCRIPT_SOURCE="$( )" SOURCE_DIR="$(dirname "$(dirname "${SCRIPT_SOURCE}")")" -CMAKE_ARGS="-S ${SOURCE_DIR} -B ${BUILD_DIR} -G Ninja" +CMAKE_ARGS="-S ${SOURCE_DIR} -B ${BUILD_DIR}" add_cmake_option() { CMAKE_ARGS="${CMAKE_ARGS} -D${1}=${2}" @@ -38,7 +38,6 @@ add_cmake_option ENABLE_PLUGIN_DEBUGFS On add_cmake_option ENABLE_PLUGIN_FREEIPMI On add_cmake_option ENABLE_PLUGIN_GO On add_cmake_option ENABLE_PLUGIN_LOCAL_LISTENERS On -add_cmake_option ENABLE_PLUGIN_LOGS_MANAGEMENT Off add_cmake_option ENABLE_PLUGIN_NFACCT On add_cmake_option ENABLE_PLUGIN_PERF On add_cmake_option ENABLE_PLUGIN_SLABINFO On @@ -89,8 +88,8 @@ else fi # shellcheck disable=SC2086 -cmake ${CMAKE_ARGS} -cmake --build "${BUILD_DIR}" --parallel "$(nproc)" +cmake ${CMAKE_ARGS} -G Ninja +cmake --build "${BUILD_DIR}" --parallel "$(nproc)" -- -k 1 if [ "${ENABLE_SENTRY}" = "true" ] && [ "${UPLOAD_SENTRY}" = "true" ]; then sentry-cli debug-files upload -o netdata-inc -p netdata-agent --force-foreground --log-level=debug --wait --include-sources build/netdata |