[llvm] [CI] Only run normal check targets if requested (PR #168412)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 09:23:40 PST 2025


================
@@ -64,9 +64,11 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
 
 start-group "ninja"
 
-# Targets are not escaped as they are passed as separate arguments.
-ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
-cp ${BUILD_DIR}/.ninja_log ninja.ninja_log
+if [[ "${targets}" != "" ]]; then
----------------
boomanaiden154 wrote:

This is stylistically consistent with the rest of the premerge bash scripts. If we prefer `-z`, we should probably switch over all at once in a follow up/base patch.

https://github.com/llvm/llvm-project/pull/168412


More information about the llvm-commits mailing list