@@ -33,7 +33,6 @@ def run_bootstrap_script(self, action, host_target, additional_params=[]):
33
33
self .source_dir , 'Utilities' , 'bootstrap' )
34
34
toolchain_path = self .install_toolchain_path ()
35
35
swiftc = os .path .join (toolchain_path , "usr" , "bin" , "swiftc" )
36
- sbt = os .path .join (toolchain_path , "usr" , "bin" , "swift-build-tool" )
37
36
38
37
llbuild_src = os .path .join (os .path .dirname (self .source_dir ), "llbuild" )
39
38
@@ -43,20 +42,20 @@ def run_bootstrap_script(self, action, host_target, additional_params=[]):
43
42
llbuild_build_dir = os .path .join (
44
43
build_root , '%s-%s' % ("llbuild" , host_target ))
45
44
46
- helper_cmd = [script_path ]
47
-
48
- if action != "build" :
49
- helper_cmd .append (action )
45
+ helper_cmd = [script_path , action ]
50
46
51
47
if self .is_release ():
52
48
helper_cmd .append ("--release" )
53
49
54
50
helper_cmd += [
55
- "--swiftc" , swiftc ,
56
- "--sbt" , sbt ,
57
- "--build" , self .build_dir ,
51
+ "--swiftc-path" , swiftc ,
52
+ "--clang-path" , self .toolchain .cc ,
53
+ "--cmake-path" , self .toolchain .cmake ,
54
+ "--ninja-path" , self .toolchain .ninja ,
55
+ "--build-dir" , self .build_dir ,
58
56
"--llbuild-source-dir" , llbuild_src ,
59
57
"--llbuild-build-dir" , llbuild_build_dir ,
58
+ "--verbose" # TESTING
60
59
]
61
60
helper_cmd .extend (additional_params )
62
61
0 commit comments