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 3d9f753 commit 17ddcdaCopy full SHA for 17ddcda
utils/swift_build_support/swift_build_support/products/pythonkit.py
@@ -56,6 +56,9 @@ def build(self, host_target):
56
self.args.install_destdir),
57
'-D', 'CMAKE_MAKE_PROGRAM={}'.format(self.toolchain.ninja),
58
'-D', 'CMAKE_Swift_COMPILER={}'.format(swiftc),
59
+ # SWIFT_ENABLE_TENSORFLOW
60
+ '-DCMAKE_Swift_COMPILER_TARGET=x86_64-apple-macosx10.13' if host_target.startswith('macosx') else '',
61
+ # SWIFT_ENABLE_TENSORFLOW END
62
'-B', self.build_dir,
63
'-S', self.source_dir,
64
])
0 commit comments