[PATCH] D19872: Produce cpio files for --reproduce

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 10:49:05 PDT 2016


emaste added a subscriber: emaste.

================
Comment at: test/ELF/reproduce-linkerscript.s:9
@@ -8,2 +8,3 @@
 # RUN: ld.lld build/foo.script -o bar --reproduce repro
+# RUN: cpio -id < repro.cpio
 # RUN: diff build/foo.script repro/%:t.dir/build/foo.script
----------------
I believe cpio was specified by POSIX at one point but was dropped later on due to limitations in the format and for most normal archiving cases tar is a better choice.

Anyhow, I suspect cpio will be widely, but not universally available and likely does need a `REQUIRES: cpio`

FWIW, with BSD cpio (libarchive) tests pass with the changes here.


http://reviews.llvm.org/D19872





More information about the llvm-commits mailing list