We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efce129 commit 725c16eCopy full SHA for 725c16e
utils/swift_build_support/swift_build_support/products/llvm.py
@@ -310,6 +310,10 @@ def build(self, host_target):
310
llvm_cmake_options.define(
311
'RUNTIMES_CMAKE_ARGS',
312
LLVM.compute_cmake_args_for_runtimes(host_target))
313
+ if system() == "Darwin":
314
+ llvm_cmake_options.define('-DLLVM_BUILTIN_TARGETS', 'arm64-apple-darwin')
315
+ llvm_cmake_options.define('-DLLVM_RUNTIME_TARGETS', 'arm64-apple-darwin')
316
+ llvm_cmake_options.define('-DRUNTIMES_BUILD_ALLOW_DARWIN', 'ON')
317
318
if self.args.build_embedded_stdlib and system() == "Darwin":
319
# Ask for Mach-O cross-compilation builtins (for Embedded Swift)
0 commit comments