================ @@ -332,43 +332,6 @@ def calculate_arch_features(arch_string): config.available_features.add("llvm-driver") -def exclude_unsupported_files_for_aix(dirname): - for filename in os.listdir(dirname): - source_path = os.path.join(dirname, filename) - if os.path.isdir(source_path): - continue - f = open(source_path, "r", encoding="ISO-8859-1") - try: - data = f.read() - # 64-bit object files are not supported on AIX, so exclude the tests. - if ( - any( - option in data - for option in ( - "-emit-obj", - "-fmodule-format=obj", - "-fintegrated-as", - ) - ) - and "64" in config.target_triple - ): - config.excludes += [filename] - finally: - f.close() - - -if "aix" in config.target_triple: - for directory in ( - "/CodeGenCXX", - "/Misc", - "/Modules", - "/PCH", - "/Driver", - "/ASTMerge/anonymous-fields", - "/ASTMerge/injected-class-name-decl", ---------------- chenzheng1030 wrote:
OK https://github.com/llvm/llvm-project/pull/71814 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits