[Lldb-commits] [lldb] [lldb] Support Darwin cross compilation for remote Linux test suite runs (PR #151403)

Vladislav Dzhidzhoev via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 31 00:39:55 PDT 2025


================
@@ -37,6 +37,9 @@ def getExtraMakeArgs(self):
 
     def getArchCFlags(self, architecture):
         """Returns the ARCH_CFLAGS for the make system."""
+        triple = self.getTriple(architecture)
+        if triple:
+            return ["ARCH_CFLAGS=-target {}".format(triple)]
----------------
dzhidzhoev wrote:

Is this needed if ARCH_CFLAGS is overwritten in Makefile? 
https://github.com/llvm/llvm-project/blob/279bb81cafcf1d5fcbb3f605293a52c0cbe25f9b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules#L90

https://github.com/llvm/llvm-project/pull/151403


More information about the lldb-commits mailing list