[llvm] [CI] Add flang-rt to pre-merge configuration (PR #156039)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 29 08:22:14 PDT 2025
https://github.com/nikic updated https://github.com/llvm/llvm-project/pull/156039
>From ff41389e8b18f90900eb5f77adfd279c356941bd Mon Sep 17 00:00:00 2001
From: Nikita Popov <npopov at redhat.com>
Date: Fri, 29 Aug 2025 16:48:02 +0200
Subject: [PATCH 1/2] [CI] Add flang-rt to pre-merge configuration
Currently if you modify something in flang-rt, no tests are run
at all.
---
.ci/compute_projects.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 95351c46fad59..f357b90000141 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -80,7 +80,8 @@
"clang-tools-extra": {"libc"},
"libc": {"libc"},
"compiler-rt": {"compiler-rt"},
- ".ci": {"compiler-rt", "libc"},
+ "flang-rt": {"flang-rt"},
+ ".ci": {"compiler-rt", "libc", "flang-rt"},
}
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
"llvm": {"libcxx", "libcxxabi", "libunwind"},
@@ -140,6 +141,7 @@
"bolt": "check-bolt",
"lld": "check-lld",
"flang": "check-flang",
+ "flang-rt": "check-flang-rt",
"libc": "check-libc",
"lld": "check-lld",
"lldb": "check-lldb",
@@ -148,7 +150,7 @@
"polly": "check-polly",
}
-RUNTIMES = {"libcxx", "libcxxabi", "libunwind", "compiler-rt", "libc"}
+RUNTIMES = {"libcxx", "libcxxabi", "libunwind", "compiler-rt", "libc", "flang-rt"}
# Meta projects are projects that need explicit handling but do not reside
# in their own top level folder. To add a meta project, the start of the path
>From b1db77244e2651fc7a4f6b2db100af23cc1a9c1a Mon Sep 17 00:00:00 2001
From: Nikita Popov <npopov at redhat.com>
Date: Fri, 29 Aug 2025 16:49:11 +0200
Subject: [PATCH 2/2] DO NOT MERGE
---
.ci/compute_projects.py | 28 ++++++++++++++--------------
flang-rt/CMakeLists.txt | 1 +
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index f357b90000141..1d8971aaceb6b 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -52,20 +52,20 @@
"clang": {"clang-tools-extra", "cross-project-tests", "lldb"},
"mlir": {"flang"},
# Test everything if ci scripts are changed.
- ".ci": {
- "llvm",
- "clang",
- "CIR",
- "lld",
- "lldb",
- "bolt",
- "clang-tools-extra",
- "mlir",
- "polly",
- "flang",
- "libclc",
- "openmp",
- },
+ #".ci": {
+ # "llvm",
+ # "clang",
+ # "CIR",
+ # "lld",
+ # "lldb",
+ # "bolt",
+ # "clang-tools-extra",
+ # "mlir",
+ # "polly",
+ # "flang",
+ # "libclc",
+ # "openmp",
+ #},
}
# This mapping describes runtimes that should be enabled for a specific project,
diff --git a/flang-rt/CMakeLists.txt b/flang-rt/CMakeLists.txt
index d048ac4b3e5a4..5dafa1e499f80 100644
--- a/flang-rt/CMakeLists.txt
+++ b/flang-rt/CMakeLists.txt
@@ -339,3 +339,4 @@ if (FLANG_RT_INCLUDE_TESTS)
else ()
add_custom_target(check-flang-rt)
endif()
+
More information about the llvm-commits
mailing list