Skip to content

Commit 5d9c35a

Browse files
committed
Swift: skip tar
1 parent bb12613 commit 5d9c35a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pkg_swift_llvm.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,6 @@ def zip_dir(src, tgt):
224224
archive = shutil.make_archive(tgt, 'zip', src)
225225
print(f"created {archive}")
226226

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-
233227

234228
def main(opts):
235229
tmp = pathlib.Path('/tmp/llvm-swift')
@@ -246,7 +240,6 @@ def main(opts):
246240
export_sdk(exported / "sdk", opts.swift_source_tree, opts.swift_build_tree)
247241

248242
zip_dir(exported, opts.output)
249-
tar_dir(exported, opts.output)
250243

251244

252245
if __name__ == "__main__":

0 commit comments

Comments
 (0)