Skip to content

Commit

Permalink
[lit][aix] Always use internal lit shell on AIX (llvm#113355)
Browse files Browse the repository at this point in the history
Diff on AIX doesn't have all the required features used in tests (see
<llvm#108871> and
<llvm#112997 (comment)>),
so always use the internal shell.
  • Loading branch information
dpaoliello authored Oct 23, 2024
1 parent b65b2b4 commit 4583dbc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions llvm/utils/lit/lit/llvm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ def __init__(self, lit_config, config):
self.lit_config.note("using lit tools: {}".format(path))
lit_path_displayed = True

if platform.system() == "AIX":
# Diff on AIX doesn't have all the required features (see
# https://github.com/llvm/llvm-project/pull/108871 and
# https://github.com/llvm/llvm-project/pull/112997#issuecomment-2429656192)
# so always use the internal shell.
self.use_lit_shell = True

if platform.system() == "OS/390":
self.with_environment("_BPXK_AUTOCVT", "ON")
self.with_environment("_TAG_REDIR_IN", "TXT")
Expand Down

0 comments on commit 4583dbc

Please sign in to comment.