[llvm] [NO MERGE] test CI install (PR #158174)

Maksim Levental via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 11 18:56:36 PDT 2025


https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/158174

>From 73f72d361b93961a5171cc53f7ceeb26627fdbae Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Thu, 11 Sep 2025 07:53:48 -0700
Subject: [PATCH 1/5] [CI] Update monolithic-linux.sh

---
 .ci/monolithic-linux.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh
index 5abb8d72df028..f16cbcd5b2904 100755
--- a/.ci/monolithic-linux.sh
+++ b/.ci/monolithic-linux.sh
@@ -62,7 +62,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
       -D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
       -D CMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
       -D CMAKE_EXE_LINKER_FLAGS="-no-pie" \
-      -D LLVM_ENABLE_WERROR=ON
+      -D LLVM_ENABLE_WERROR=ON \
+      -DLLVM_BUILD_UTILS=ON \
+      -DLLVM_INCLUDE_UTILS=ON \
+      -DLLVM_INSTALL_UTILS=ON
 
 start-group "ninja"
 

>From 86c4f7f6f1a30446d0bb198a352b9be83e1b6a1c Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Thu, 11 Sep 2025 07:55:30 -0700
Subject: [PATCH 2/5] Update monolithic-windows.sh

---
 .ci/monolithic-windows.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh
index f85d6e3d51b57..c1249d3196961 100755
--- a/.ci/monolithic-windows.sh
+++ b/.ci/monolithic-windows.sh
@@ -49,7 +49,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
       -D CMAKE_EXE_LINKER_FLAGS="/MANIFEST:NO" \
       -D CMAKE_MODULE_LINKER_FLAGS="/MANIFEST:NO" \
       -D CMAKE_SHARED_LINKER_FLAGS="/MANIFEST:NO" \
-      -D LLVM_ENABLE_RUNTIMES="${runtimes}"
+      -D LLVM_ENABLE_RUNTIMES="${runtimes}" \
+      -DLLVM_BUILD_UTILS=ON \
+      -DLLVM_INCLUDE_UTILS=ON \
+      -DLLVM_INSTALL_UTILS=ON
 
 start-group "ninja"
 

>From 755bba24f2b1b8256db2083b35f4b35e6c764326 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Thu, 11 Sep 2025 18:19:14 -0700
Subject: [PATCH 3/5] Update monolithic-linux.sh

---
 .ci/monolithic-linux.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh
index f16cbcd5b2904..4e5f1a2d0b3a8 100755
--- a/.ci/monolithic-linux.sh
+++ b/.ci/monolithic-linux.sh
@@ -72,6 +72,8 @@ start-group "ninja"
 # Targets are not escaped as they are passed as separate arguments.
 ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
 
+ninja -C "${BUILD_DIR}" -k 0 install
+
 if [[ "${runtime_targets}" != "" ]]; then
   start-group "ninja Runtimes"
 

>From 2dfd6d0d73afd543f66ffa0aed405eaa2f9e9bfa Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Thu, 11 Sep 2025 20:56:08 -0500
Subject: [PATCH 4/5] Update monolithic-windows.sh

---
 .ci/monolithic-windows.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh
index c1249d3196961..a36346ee4c565 100755
--- a/.ci/monolithic-windows.sh
+++ b/.ci/monolithic-windows.sh
@@ -54,6 +54,8 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
       -DLLVM_INCLUDE_UTILS=ON \
       -DLLVM_INSTALL_UTILS=ON
 
+ninja -C "${BUILD_DIR}" -k 0 install
+
 start-group "ninja"
 
 # Targets are not escaped as they are passed as separate arguments.

>From 02963e620cc68e5336eec01a165327b2d0b39097 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Thu, 11 Sep 2025 20:56:28 -0500
Subject: [PATCH 5/5] Update monolithic-windows.sh

---
 .ci/monolithic-windows.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh
index a36346ee4c565..2473d2d29b020 100755
--- a/.ci/monolithic-windows.sh
+++ b/.ci/monolithic-windows.sh
@@ -54,13 +54,13 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
       -DLLVM_INCLUDE_UTILS=ON \
       -DLLVM_INSTALL_UTILS=ON
 
-ninja -C "${BUILD_DIR}" -k 0 install
-
 start-group "ninja"
 
 # Targets are not escaped as they are passed as separate arguments.
 ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
 
+ninja -C "${BUILD_DIR}" -k 0 install
+
 if [[ "${runtime_targets}" != "" ]]; then
   start-group "ninja runtimes"
   



More information about the llvm-commits mailing list