Skip to content

Commit 2ba2605

Browse files
boomanaiden154Debadri Basak
authored andcommitted
Revert "Reapply "[compiler-rt] Default to Lit's Internal Shell""
This reverts commit 2253413. This caused a bunch of buildbot failures: 1. https://lab.llvm.org/buildbot/#/builders/17/builds/12328 - fixed-shadow.c uses parantheses, almost seems flaky. 2. https://lab.llvm.org/buildbot/#/builders/186/builds/13651 - log-path_test.cpp is unresolved on some builders. 3. https://lab.llvm.org/buildbot/#/builders/64/builds/6289 - unset is not found 4. https://lab.llvm.org/buildbot/#/builders/42/builds/6809 - ulimit issues 5. https://lab.llvm.org/buildbot/#/builders/169/builds/16628 - flaky JIT failures that are now a lot more frequent.
1 parent e744eb4 commit 2ba2605

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

compiler-rt/test/lit.common.cfg.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,18 +113,16 @@ def push_dynamic_library_lookup_path(config, new_path):
113113
config.environment[dynamic_library_lookup_var] = new_ld_library_path_64
114114

115115

116-
# TODO: Consolidate the logic for turning on the internal shell by default for all LLVM test suites.
117-
# See https://github.com/llvm/llvm-project/issues/106636 for more details.
118-
#
119116
# Choose between lit's internal shell pipeline runner and a real shell. If
120117
# LIT_USE_INTERNAL_SHELL is in the environment, we use that as an override.
121118
use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL")
122119
if use_lit_shell:
123120
# 0 is external, "" is default, and everything else is internal.
124121
execute_external = use_lit_shell == "0"
125122
else:
126-
# Otherwise we default to internal everywhere.
127-
execute_external = False
123+
# Otherwise we default to internal on Windows and external elsewhere, as
124+
# bash on Windows is usually very slow.
125+
execute_external = not sys.platform in ["win32"]
128126

129127
# Allow expanding substitutions that are based on other substitutions
130128
config.recursiveExpansionLimit = 10

0 commit comments

Comments
 (0)