[llvm-dev] RFC: A cross platform way of using shell commands in lit tests
Daniel Berlin via llvm-dev
llvm-dev at lists.llvm.org
Tue Aug 16 12:40:31 PDT 2016
If you went this route, you'd really want toybox, which is BSD licensed,
and not written by people with a penchant for litigation :)
On Tue, Aug 16, 2016 at 12:39 PM, Alex Bradbury via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On 16 August 2016 at 17:19, Zachary Turner via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Well, It would be nice if we could remove the GnuWin32 dependency as
> > Lots of tests use grep, sed, cd, ln, or whatever. Anyone who's ever
> > downloading and installing GnuWin32 knows what a pain it is. It installs
> > programs called, for example, "link" which interfere with standard
> > tools, and puts them in your path. There are other examples of this.
> > it's also HUGE. And nobody can ever figure out how to download it
> > correctly. Plus there are some minor differences in the tools behavior.
> > I'm proposing that we replace shell commands in tests with a tool that we
> > create which implements the most common shell commands and options.
> How about just using busybox-w32 for find, grep, sed, and other
> standard UNIX commands https://github.com/rmyorston/busybox-w32. It's
> a single exe < 500KiB.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev