From 2bfe3e7c483901a12e5227fc246315d7815df5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 21 Sep 2023 12:42:03 +0300 Subject: [PATCH] Remove setting the unused variable NINJA in build shell scripts This variable ended up unused in b89cdef10703001510919b8ed979663b670abe7f. --- build-compiler-rt.sh | 1 - build-libcxx.sh | 1 - build-lldb-mi.sh | 1 - build-llvm.sh | 1 - build-openmp.sh | 1 - 5 files changed, 5 deletions(-) diff --git a/build-compiler-rt.sh b/build-compiler-rt.sh index 277f1f0..5439e39 100755 --- a/build-compiler-rt.sh +++ b/build-compiler-rt.sh @@ -68,7 +68,6 @@ fi if command -v ninja >/dev/null; then CMAKE_GENERATOR="Ninja" - NINJA=1 BUILDCMD=ninja else : ${CORES:=$(nproc 2>/dev/null)} diff --git a/build-libcxx.sh b/build-libcxx.sh index d6a38f3..01b1dd2 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -62,7 +62,6 @@ cd runtimes if command -v ninja >/dev/null; then CMAKE_GENERATOR="Ninja" - NINJA=1 BUILDCMD=ninja else : ${CORES:=$(nproc 2>/dev/null)} diff --git a/build-lldb-mi.sh b/build-lldb-mi.sh index 33c17b2..cdd2ddd 100755 --- a/build-lldb-mi.sh +++ b/build-lldb-mi.sh @@ -53,7 +53,6 @@ fi if command -v ninja >/dev/null; then CMAKE_GENERATOR="Ninja" - NINJA=1 BUILDCMD=ninja else : ${CORES:=$(nproc 2>/dev/null)} diff --git a/build-llvm.sh b/build-llvm.sh index dbf71c8..60e90f9 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -138,7 +138,6 @@ fi if command -v ninja >/dev/null; then CMAKE_GENERATOR="Ninja" - NINJA=1 BUILDCMD=ninja else : ${CORES:=$(nproc 2>/dev/null)} diff --git a/build-openmp.sh b/build-openmp.sh index 5de6246..90a33e8 100755 --- a/build-openmp.sh +++ b/build-openmp.sh @@ -52,7 +52,6 @@ cd llvm-project/openmp if command -v ninja >/dev/null; then CMAKE_GENERATOR="Ninja" - NINJA=1 BUILDCMD=ninja else : ${CORES:=$(nproc 2>/dev/null)}