Author: Kelvin Li Date: 2026-07-15T14:49:06-04:00 New Revision: 0256ff92c9e1033270a73ba83d0f34865ef63202
URL: https://github.com/llvm/llvm-project/commit/0256ff92c9e1033270a73ba83d0f34865ef63202 DIFF: https://github.com/llvm/llvm-project/commit/0256ff92c9e1033270a73ba83d0f34865ef63202.diff LOG: [clang][test][AIX] Set OBJECT_MODE=any for all clang test (#209531) This patch sets OBJECT_MODE=any to have tools able to handle 32-bit or 64-bit objects. Added: Modified: clang/test/lit.cfg.py Removed: ################################################################################ diff --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py index b09bb7007ae99..32b8098d71b23 100644 --- a/clang/test/lit.cfg.py +++ b/clang/test/lit.cfg.py @@ -491,11 +491,8 @@ def user_is_root(): # objects only. In order to not affect most test cases, which expect to support # 32-bit and 64-bit objects by default, set the environment variable # "OBJECT_MODE" to "any" by default on AIX OS. - if "system-aix" in config.available_features: - config.substitutions.append(("llvm-nm", "env OBJECT_MODE=any llvm-nm")) - config.substitutions.append(("llvm-ar", "env OBJECT_MODE=any llvm-ar")) - config.substitutions.append(("llvm-ranlib", "env OBJECT_MODE=any llvm-ranlib")) + config.environment["OBJECT_MODE"] = "any" # It is not realistically possible to account for all options that could # possibly be present in system and user configuration files, so disable _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
