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.
1 parent bb12613 commit 5d9c35aCopy full SHA for 5d9c35a
pkg_swift_llvm.py
@@ -224,12 +224,6 @@ def zip_dir(src, tgt):
224
archive = shutil.make_archive(tgt, 'zip', src)
225
print(f"created {archive}")
226
227
-def tar_dir(src, tgt):
228
- tgt = get_tgt(tgt, f"swift-prebuilt-{get_platform()}.tar.gz")
229
- print(f"compressing {src.name} to {tgt}")
230
- archive = shutil.make_archive(tgt, 'gztar', src)
231
- print(f"created {archive}")
232
-
233
234
def main(opts):
235
tmp = pathlib.Path('/tmp/llvm-swift')
@@ -246,7 +240,6 @@ def main(opts):
246
240
export_sdk(exported / "sdk", opts.swift_source_tree, opts.swift_build_tree)
247
241
248
242
zip_dir(exported, opts.output)
249
- tar_dir(exported, opts.output)
250
243
251
244
252
245
if __name__ == "__main__":
0 commit comments