@@ -136,11 +136,6 @@ def export_sdk(tgt, swift_source_tree, swift_build_tree):
136
136
ignore = shutil .ignore_patterns ('CMakeLists.txt' ))
137
137
138
138
139
- def export_toolchain (tgt , toolchain_dir ):
140
- print ("assembling toolchain" )
141
- shutil .copytree (toolchain_dir , tgt )
142
-
143
-
144
139
def export_stdlibs (exported_dir , swift_build_tree ):
145
140
ext = 'dylib'
146
141
platform = 'linux' if get_platform () == 'linux' else 'macosx'
@@ -195,7 +190,6 @@ def main(opts):
195
190
os .mkdir (tmp )
196
191
llvm_build_tree = next (opts .build_tree .glob ("llvm-*" ))
197
192
swift_build_tree = next (opts .build_tree .glob ("swift-*" ))
198
- toolchain_dir = next (opts .build_tree .glob ("toolchain-*/codeql-toolchain" ))
199
193
earlyswiftsyntax_build_tree = next (opts .build_tree .glob ("earlyswiftsyntax-*" ))
200
194
configured = configure_dummy_project (tmp , prefixes = [llvm_build_tree , swift_build_tree ,
201
195
earlyswiftsyntax_build_tree / "cmake" / "modules" ])
@@ -206,7 +200,6 @@ def main(opts):
206
200
export_libs (exported , libs , swift_build_tree )
207
201
export_headers (exported , opts .swift_source_tree , llvm_build_tree , swift_build_tree )
208
202
export_sdk (exported / "sdk" , opts .swift_source_tree , swift_build_tree )
209
- export_toolchain (exported / "toolchain" , toolchain_dir )
210
203
211
204
zip_dir (exported , opts .output )
212
205
0 commit comments