<div dir="ltr"><div class="gmail_quote"><div>Hi Andras, it's good to hear that someone else has seen problems similar to what Andrew is seeing.</div><div dir="ltr"><br></div><div dir="ltr">On Tue, Sep 25, 2018 at 7:37 PM Andras Lasso <<a href="mailto:lasso@queensu.ca">lasso@queensu.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-6280563951564773075WordSection1">
<p class="MsoNormal">It is probably worth asking CMake developers about what could be a good approach to address this.<u></u><u></u></p>
<p class="MsoNormal"></p></div></div></blockquote><div><br></div><div>Brad, have there been any new discoveries about why compiler tests and custom-command outputs fail to open their output files on Windows as described in this cmake issue? (<a href="https://cmake.org/Bug/view.php?id=12957" target="_blank">https://cmake.org/Bug/view.php?id=12957</a>).  This is something that Andrew is seeing on his machine, that I haven't been able to reproduce on my own machine yet.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_-6280563951564773075WordSection1">
<p class="MsoNormal">Retrying a file operation can have many non-trivial side effects so it should be avoided. As far as I know, there is no such workaround anywhere in CMake, so it should be possible to avoid it in vtkWrapPython, too.</p></div></div></blockquote><div><br></div><div>This isn't always true.  On Linux when fread fails with errno=EINTR, retrying is the correct response, and there are a few places where this is done in the CMake code base.  The errno=EINTR condition is very short lived.  It would be nice if the failure on Windows was something similar (i.e. instantly retryable) but I suspect it isn't.  I strongly suspect the failure is a sharing violation, for which the correct response is usually to write to a different file (which is not ideal).</div><div><br></div><div>  David</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_-6280563951564773075WordSection1"><div><div><div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div></div>