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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 11:00:22 PDT 2016


The cpio command was dropped, but the format is still documented. The pax
command has to support it.
On May 3, 2016 1:49 PM, "Ed Maste" <emaste at freebsd.org> wrote:

> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160503/85309dd1/attachment.html>


More information about the llvm-commits mailing list