Skip to content

Commit 4583dbc

Browse files
authored
[lit][aix] Always use internal lit shell on AIX (#113355)
Diff on AIX doesn't have all the required features used in tests (see <#108871> and <#112997 (comment)>), so always use the internal shell.
1 parent b65b2b4 commit 4583dbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm/utils/lit/lit/llvm/config.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ def __init__(self, lit_config, config):
5757
self.lit_config.note("using lit tools: {}".format(path))
5858
lit_path_displayed = True
5959

60+
if platform.system() == "AIX":
61+
# Diff on AIX doesn't have all the required features (see
62+
# https://github.com/llvm/llvm-project/pull/108871 and
63+
# https://github.com/llvm/llvm-project/pull/112997#issuecomment-2429656192)
64+
# so always use the internal shell.
65+
self.use_lit_shell = True
66+
6067
if platform.system() == "OS/390":
6168
self.with_environment("_BPXK_AUTOCVT", "ON")
6269
self.with_environment("_TAG_REDIR_IN", "TXT")

0 commit comments

Comments
 (0)