Skip to content

Commit b2354ff

Browse files
committed
Do not add flang-rt to projects-to-test in the first place
1 parent 3d95f2e commit b2354ff

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.ci/compute-projects.sh

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ function compute-projects-to-test() {
1818
shift
1919
projects=${@}
2020
for project in ${projects}; do
21-
echo "${project}"
2221
case ${project} in
2322
lld)
24-
for p in bolt cross-project-tests; do
23+
for p in lld bolt cross-project-tests; do
2524
echo $p
2625
done
2726
;;
2827
llvm)
29-
for p in bolt clang clang-tools-extra lld lldb mlir polly; do
28+
for p in llvm bolt clang clang-tools-extra lld lldb mlir polly; do
3029
echo $p
3130
done
3231
# Flang is not stable in Windows CI at the moment
@@ -36,21 +35,30 @@ function compute-projects-to-test() {
3635
;;
3736
clang)
3837
# lldb is temporarily removed to alleviate Linux pre-commit CI waiting times
39-
for p in clang-tools-extra compiler-rt cross-project-tests; do
38+
for p in clang clang-tools-extra compiler-rt cross-project-tests; do
4039
echo $p
4140
done
4241
;;
4342
clang-tools-extra)
44-
echo libc
43+
for p in clang-tools-extra libc; do
44+
echo $p
45+
done
46+
;;
47+
mlir)
48+
echo mlir
49+
# Flang is not stable in Windows CI at the moment
50+
if [[ $isForWindows == 0 ]]; then
51+
echo flang
52+
fi
4553
;;
46-
mlir|flang-rt)
54+
flang-rt)
4755
# Flang is not stable in Windows CI at the moment
4856
if [[ $isForWindows == 0 ]]; then
4957
echo flang
5058
fi
5159
;;
5260
*)
53-
# Nothing to do
61+
echo "${project}"
5462
;;
5563
esac
5664
done
@@ -121,7 +129,6 @@ function exclude-linux() {
121129
case ${project} in
122130
cross-project-tests) ;; # tests failing
123131
openmp) ;; # https://github.com/google/llvm-premerge-checks/issues/410
124-
flang-rt) ;; # added to runtimes build, not LLVM_ENABLE_PROJECTS
125132
*)
126133
echo "${project}"
127134
;;

0 commit comments

Comments
 (0)