[llvm-dev] Bug-closing protocol

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 20 14:45:25 PDT 2018


Our team internally has gotten creduce working on Windows natively.  It
wasn't the easiest thing I've ever done, but it took less than an
afternoon.  Happy to help anyone do this.

On Tue, Jun 19, 2018 at 5:51 PM Michael Spencer via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> On Mon, Jun 18, 2018 at 3:20 PM, JVApen via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> To make matters worse, every time a component gets upgraded (internal
>> library, extrernal library or even the tool-chain, including clang), there
>> is a high probability of firefighting issues. Only when that fails, I spent
>> time logging a bug (as creduce doesn't work on my system).
>>
>
> I'm assuming you're on Windows.  If you're on Windows 10 you can use
> creduce under WSL (Windows Subsystem for Linux) and have it call Windows
> binaries.  You just need to make a change to make_tmpdir to use a temp
> directory that Windows programs have access to.  I changed mine to:
>
> sub make_tmpdir () {
>     my $dir = File::Temp::tempdir("creduce-XXXXXX",
>                                   $SAVE_TEMPS ? (CLEANUP => 0) : (CLEANUP
> => 1),
>                                   #DIR => File::Spec->tmpdir);
>                                   DIR => "/mnt/d/temp/");
>     push @tmpdirs, $dir;
>     return $dir;
> }
>
> Which points to D:\temp which I created for this purpose.  I know zero
> Perl so I haven't made a proper patch to upstream, but hopefully this helps
> if you ever need to reduce in the future.
>
> - Michael Spencer
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180620/9c856720/attachment.html>


More information about the llvm-dev mailing list