<div dir="ltr">Same here, I am merely a buildcop and not a CMake expert.<div>I'll ask around and try to find someone who can help.</div><div><br></div><div>If you happen to have other ideas on how this can be done (or how to remove the requirement on this header in the test), please let me know.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 16, 2019 at 11:51 AM Stephan Bergmann <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 16/07/2019 11:07, Ilya Biryukov wrote:<br>
> Is there a more principled way to use sanitizer_platform.h from the test?<br>
> <br>
> We are running clang tests in a distributed environment and don't have a <br>
> full source checkout when running the tests.<br>
> One way to make it work for us is to make the test depend on the build <br>
> target producing the headers and configure the compiler being run (by <br>
> passing the -I flag or something similar).<br>
<br>
That test not being optimal was discussed at <br>
<<a href="https://reviews.llvm.org/D61479" rel="noreferrer" target="_blank">https://reviews.llvm.org/D61479</a>> (see comment by vsk on 2019/07/11), <br>
but without a clear idea for a superior solution.<br>
<br>
Ilya, can you come up with a patch as you outlined above?  I'm afraid <br>
LLVM's CMake build machinery is beyond me.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div>