<div dir="ltr">Hi,<div><br></div><div>Yep, long term it'd be awesome for this to work as part of projects, but for the moment it won't as Chris mentions. I'm going to hook up cross-compile support for fpcmp and timeit tomorrow, so I'll see if I can use the same technique (and the one compiler-rt uses) to make it work.</div><div><br></div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 28 Oct 2015 at 17:43 Artem Belevich via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@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">tra added a subscriber: tra.<br>
<br>
================<br>
Comment at: cmake/modules/SingleMultiSource.cmake:139<br>
@@ +138,3 @@<br>
+  # Now do the actual configuration.<br>
+  configure_file(${CMAKE_SOURCE_DIR}/cmake/<a href="http://lit-test-template.in" rel="noreferrer" target="_blank">lit-test-template.in</a><br>
+    ${CMAKE_CURRENT_BINARY_DIR}/${exename}.test)<br>
----------------<br>
When test suite is configured as part of whole llvm+projects+clang tree CMAKE_SOURCE_DIR points to the top of the tree and there's no <a href="http://lit-test-template.in" rel="noreferrer" target="_blank">lit-test-template.in</a> there.<br>
<br>
Perhaps you should use PROJECT_SOURCE_DIR here.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D14046" rel="noreferrer" target="_blank">http://reviews.llvm.org/D14046</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>