From fa5cb7cece437f47c577825feb44f3dc75a3999f Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Tue, 6 May 2025 13:41:17 +0200 Subject: [PATCH] Toolchain: Suppress build of ninja unit tests --- tools/toolchain/scripts/stage0/install_ninja.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/toolchain/scripts/stage0/install_ninja.sh b/tools/toolchain/scripts/stage0/install_ninja.sh index 74b2545057..ab5ca0fbea 100755 --- a/tools/toolchain/scripts/stage0/install_ninja.sh +++ b/tools/toolchain/scripts/stage0/install_ninja.sh @@ -38,8 +38,10 @@ case "${with_ninja}" in mkdir -p ${pkg_install_dir} tar -xzf ninja-v${ninja_ver}.tar.gz cd ninja-${ninja_ver} - cmake -DCMAKE_INSTALL_PREFIX=${pkg_install_dir} \ + cmake \ -Bbuild-ninja \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=${pkg_install_dir} \ > configure.log 2>&1 || tail -n ${LOG_LINES} configure.log cmake --build build-ninja -j $(get_nprocs) > cmake.log 2>&1 || tail -n ${LOG_LINES} cmake.log cmake --install build-ninja > install.log 2>&1 || tail -n ${LOG_LINES} install.log