<div dir="ltr">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.<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 19, 2018 at 5:51 PM Michael Spencer via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="m_-3190549494320311561gmail_signature">On Mon, Jun 18, 2018 at 3:20 PM, JVApen via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto">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).<br></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>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:</div><div><br></div><div><div>sub make_tmpdir () {</div><div>    my $dir = File::Temp::tempdir("creduce-XXXXXX",</div><div>                                  $SAVE_TEMPS ? (CLEANUP => 0) : (CLEANUP => 1),</div><div>                                  #DIR => File::Spec->tmpdir);</div><div>                                  DIR => "/mnt/d/temp/");</div><div>    push @tmpdirs, $dir;</div><div>    return $dir;</div><div>}</div></div><div><br></div><div>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.</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- Michael Spencer</span><br></div></div></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>