Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions llvm/test/TableGen/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
import platform
import lit.formats

config.suffixes = [".td"]
config.excludes = ["Common", "Inputs"]

# AIX 'diff' command doesn't support --strip-trailing-cr, but the internal
# python implementation does, so use that for cross platform compatibility
if platform.system() == "AIX":
config.test_format = lit.formats.ShTest()
7 changes: 0 additions & 7 deletions llvm/utils/lit/lit/llvm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ 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
Loading