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.
2 parents 86d9c82 + 3f177e7 commit 96ce6d3Copy full SHA for 96ce6d3
utils/swift_build_support/swift_build_support/products/tensorflow.py
@@ -64,6 +64,8 @@ def build(self, host_target):
64
self.toolchain.cmake,
65
'-G', 'Ninja',
66
'-D', 'BUILD_SHARED_LIBS=YES',
67
+ '-D', 'CMAKE_BUILD_TYPE={}'.format(
68
+ 'Release' if self.is_release() else 'Debug'),
69
'-D', 'CMAKE_INSTALL_PREFIX={}'.format(
70
self.install_toolchain_path(host_target)),
71
'-D', 'CMAKE_MAKE_PROGRAM={}'.format(self.toolchain.ninja),
0 commit comments