[PATCH] D39278: [lit] Respect LLVM_LIT_TOOLS_DIR when looking for 'tar' on Windows.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 06:41:04 PDT 2017


Seems fine
On Wed, Oct 25, 2017 at 4:33 AM Igor Kudrin via Phabricator <
reviews at reviews.llvm.org> wrote:

> ikudrin added inline comments.
>
>
> ================
> Comment at: test/lit.cfg.py:90
> +        [tar_executable, '--version'], stdout=subprocess.PIPE,
> env={'LANG': 'C'})
> +    if 'GNU tar' in tar_version.stdout.read().decode():
> +        config.available_features.add('gnutar')
> ----------------
> lichray wrote:
> > How about just read with `tar_version, _ = communicate()` and remove the
> '.wait()'?
> I'd redirect your idea to the author of D38977, @pcc.
> Anyway, this patch is only about fixing an execution failure on Windows,
> and nothing more.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D39278
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/be60f4c2/attachment.html>


More information about the llvm-commits mailing list