Skip to content

Commit e432c5f

Browse files
texasmichellexihui-wu
authored andcommitted
Remove build args that interfere with yams
1 parent bf24883 commit e432c5f

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

utils/swift_build_support/swift_build_support/products/swiftdriver.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,19 @@ def run_build_script_helper(action, host_target, product, args):
106106
'--ninja-bin', product.toolchain.ninja,
107107
'--cmake-bin', product.toolchain.cmake,
108108
]
109-
if os.path.exists(dispatch_build_dir):
110-
helper_cmd += [
111-
'--dispatch-build-dir', dispatch_build_dir
112-
]
113-
if os.path.exists(foundation_build_dir):
114-
helper_cmd += [
115-
'--foundation-build-dir', foundation_build_dir
116-
]
109+
110+
# SWIFT_ENABLE_TENSORFLOW
111+
# Don't pass in these args since they interfere with yams.
112+
# if os.path.exists(dispatch_build_dir):
113+
# helper_cmd += [
114+
# '--dispatch-build-dir', dispatch_build_dir
115+
# ]
116+
# if os.path.exists(foundation_build_dir):
117+
# helper_cmd += [
118+
# '--foundation-build-dir', foundation_build_dir
119+
# ]
120+
# SWIFT_ENABLE_TENSORFLOW END
121+
117122
if args.verbose_build:
118123
helper_cmd.append('--verbose')
119124

0 commit comments

Comments
 (0)