https://github.com/augusto2112 updated https://github.com/llvm/llvm-project/pull/215655
>From cc23d7472995dac5b78f9347e117059a945d9ee8 Mon Sep 17 00:00:00 2001 From: Augusto Noronha <[email protected]> Date: Tue, 11 Aug 2026 13:32:50 -0700 Subject: [PATCH] [lldb][test] Don't let the Darwin builder clobber ARCH_CFLAGS f5e2b8b1df07 ("[lldb] Rally around triple rather than arch in the API tests") moved the construction of ARCH_CFLAGS into Makefile.rules but left the builder returning a value. Configurations whose triple names a bare darwin OS take an early return and are unaffected, which is why a default macOS build does not notice. Assisted-by: claude --- .../Python/lldbsuite/test/builders/darwin.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/builders/darwin.py b/lldb/packages/Python/lldbsuite/test/builders/darwin.py index 786a1a4750437..004cb9e402239 100644 --- a/lldb/packages/Python/lldbsuite/test/builders/darwin.py +++ b/lldb/packages/Python/lldbsuite/test/builders/darwin.py @@ -60,18 +60,7 @@ def getExtraMakeArgs(self): return ["{}={}".format(key, value) for key, value in args.items()] def getArchCFlags(self): - triple = self.getTriple() - if not triple: - return [] - - _, _, os, version, _ = split_triple(triple) - - if os == "darwin" or not version: - return [] - - target_os = "-mtargetos={}{}".format(os, version) - - return ["ARCH_CFLAGS={}".format(target_os)] + return [] def _getDebugInfoArgs(self, debug_info): if debug_info == "dsym": _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
