File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
swift_build_support/swift_build_support/products Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2383,6 +2383,11 @@ swift-primary-variant-arch=x86_64
2383
2383
enable-tensorflow
2384
2384
install-tensorflow
2385
2385
2386
+ tensorflow-swift-apis
2387
+ install-tensorflow-swift-apis
2388
+ pythonkit
2389
+ install-pythonkit
2390
+
2386
2391
[preset: tensorflow_osx]
2387
2392
mixin-preset =tensorflow_osx_base
2388
2393
test
@@ -2393,9 +2398,6 @@ stress-test
2393
2398
2394
2399
[preset: tensorflow_osx,no_test]
2395
2400
mixin-preset =tensorflow_osx_base
2396
- tensorflow-swift-apis
2397
- pythonkit
2398
- install-pythonkit
2399
2401
skip-test-cmark
2400
2402
skip-test-swift
2401
2403
skip-test-swiftpm
@@ -2408,9 +2410,6 @@ skip-test-playgroundsupport
2408
2410
mixin-preset =
2409
2411
tensorflow_osx
2410
2412
mixin_codesigning
2411
- tensorflow-swift-apis
2412
- pythonkit
2413
- install-pythonkit
2414
2413
darwin-toolchain-installer-package =%(darwin_toolchain_installer_package)s
2415
2414
2416
2415
[preset: tensorflow_osx,no_test,installer]
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def build(self, host_target):
53
53
'-G' , 'Ninja' ,
54
54
'-D' , 'BUILD_SHARED_LIBS=YES' ,
55
55
'-D' , 'CMAKE_INSTALL_PREFIX={}/usr' .format (
56
- self .args . install_destdir ),
56
+ self .install_toolchain_path () ),
57
57
'-D' , 'CMAKE_MAKE_PROGRAM={}' .format (self .toolchain .ninja ),
58
58
'-D' , 'CMAKE_Swift_COMPILER={}' .format (swiftc ),
59
59
'-B' , self .build_dir ,
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def build(self, host_target):
67
67
'-G' , 'Ninja' ,
68
68
'-D' , 'BUILD_SHARED_LIBS=YES' ,
69
69
'-D' , 'CMAKE_INSTALL_PREFIX={}/usr' .format (
70
- self .args . install_destdir ),
70
+ self .install_toolchain_path () ),
71
71
'-D' , 'CMAKE_MAKE_PROGRAM={}' .format (self .toolchain .ninja ),
72
72
'-D' , 'CMAKE_Swift_COMPILER={}' .format (swiftc ),
73
73
# SWIFT_ENABLE_TENSORFLOW
You can’t perform that action at this time.
0 commit comments