[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 07:50:29 PDT 2025
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/156039
Currently if you modify something in flang-rt, no tests are run at all.
>From 511dbebad1285ea0fe98e6517898e8e51da17463 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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 95351c46fad59..531455e5602c5 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -140,6 +140,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 +149,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 4d8ef57b3c5c81597f6f8171ded71d2675f76feb 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 531455e5602c5..cd59605f249df 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