<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If the test-suite setup with CMake is broken, why not replace the CMake auto-detection of the test-suite with an error?<div class="">Something like:</div><div class=""><br class=""></div><div class=""><div class="">diff --git a/CMakeLists.txt b/CMakeLists.txt</div><div class="">index d96afc465177..918da6f6c945 100644</div><div class="">--- a/CMakeLists.txt</div><div class="">+++ b/CMakeLists.txt</div><div class="">@@ -693,11 +693,7 @@ endif()</div><div class=""> </div><div class=""> if( LLVM_INCLUDE_TESTS )</div><div class="">   if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang)</div><div class="">-    include(LLVMExternalProjectUtils)</div><div class="">-    llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite</div><div class="">-      USE_TOOLCHAIN</div><div class="">-      EXCLUDE_FROM_ALL</div><div class="">-      NO_INSTALL)</div><div class="">+    message(FATAL_ERROR "The test-suite cannot be built in-tree with CMake at that time")</div><div class="">   endif()</div><div class="">   add_subdirectory(test)</div><div class="">   add_subdirectory(unittests)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">— </div><div class="">Mehdi</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 26, 2016, at 8:04 AM, James Molloy via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">The test-suite shouldn't be being build with CMake for the release - the CMake system is not yet ready. Have you accidentally checked out the test-suite into /projects? if it's there it will auto-configure.<div class=""><br class=""></div><div class="">James</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, 26 Jan 2016 at 16:01 Ismail Donmez via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jan 26, 2016 at 1:56 PM, Nikola Smiljanic via llvm-dev<br class="">
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">
> Phase1 fails to build on openSUSE 13.2, can anyone see what's wrong from<br class="">
> this log file?<br class="">
<br class="">
Something wrong with the test-suite:<br class="">
<br class="">
make -f CMakeFiles/test-suite.dir/build.make CMakeFiles/test-suite.dir/depend<br class="">
make[2]: Entering directory<br class="">
'/home/nikola/rc1/Phase1/Release/llvmCore-3.8.0-rc1.obj'<br class="">
CMakeFiles/test-suite.dir/build.make:112: *** target pattern contains<br class="">
no '%'.  Stop.<br class="">
make[2]: Leaving directory<br class="">
'/home/nikola/rc1/Phase1/Release/llvmCore-3.8.0-rc1.obj'<br class="">
CMakeFiles/Makefile2:198: recipe for target<br class="">
'CMakeFiles/test-suite.dir/all' failed<br class="">
make[1]: *** [CMakeFiles/test-suite.dir/all] Error 2<br class="">
make[1]: *** Waiting for unfinished jobs....<br class="">
_______________________________________________<br class="">
cfe-dev mailing list<br class="">
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="">
</blockquote></div>
_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></div></body></html>