<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I think we've just forgotten to update that part of the instructions. Having the test-suite at projects/test-suite was harmless to the old autoconf and LLVM 3.7.x's cmake
 builds because it didn't actually cause the test-suite to be built. The CMakeLists.txt that have been added to the test-suite now cause it to be built by LLVM's build system which introduces the build failure. We resolved it in test-release.sh by not checking
 it out in the same source tree. We instead check it out in a neighbouring directory and build it standalone.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Martin O'Riordan [mailto:martin.oriordan@movidius.com]
<br>
<b>Sent:</b> 29 February 2016 13:26<br>
<b>To:</b> Daniel Sanders<br>
<b>Subject:</b> Re: [llvm-dev] [cfe-dev] [3.8 Release] We have branched<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm not sure I understand why it should be outside the LLVM tree, the instructions say to put it in 'llvm/projects/test-suite'.  Should it be placed somewhere else?  If so, the instructions on '<a href="http://llvm.org/docs/GettingStarted.html">llvm.org/docs/GettingStarted.html</a>'
 need to be updated.<o:p></o:p></p>
</div>
<p class="MsoNormal">    MartinO<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Feb 29, 2016 at 1:09 PM, Daniel Sanders via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">The test-suite expects to be built standalone but it looks like you have it in the same tree as LLVM. You'll need
 to remove it.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> llvm-dev
 [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists.llvm.org</a>]
<b>On Behalf Of </b>Peter Teoh via llvm-dev<br>
<b>Sent:</b> 28 February 2016 14:31<br>
<b>To:</b> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<b>Subject:</b> [llvm-dev] [cfe-dev] [3.8 Release] We have branched</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">With reference to the following thread:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
<a href="http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html" target="_blank">http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">I am having the same issue.   First I did a git pull of all the relevant directories and then doing a cmake:<br>
<br>
cmake -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_ENABLE_WERROR=OFF -DLLVM_TARGETS_TO_BUILD="X86" ../llvm<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">and followed by make:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
[ 22%] Built target LLVMVectorize<br>
[ 25%] Built target LLVMScalarOpts<br>
[ 25%] Built target LLVMObjCARCOpts<br>
[ 25%] Built target LLVMLinker<br>
[ 29%] Built target LLVMAnalysis<br>
[ 30%] Built target LLVMMCParser<br>
[ 30%] Built target LLVMMCDisassembler<br>
[ 32%] Built target LLVMMC<br>
[ 32%] Built target LLVMOption<br>
[ 34%] Built target LLVMObject<br>
[ 34%] Built target LLVMDebugInfoCodeView<br>
[ 34%] Built target LLVMTarget<br>
[ 35%] Built target X86CommonTableGen<br>
[ 35%] Built target LLVMX86AsmParser<br>
[ 36%] Built target LLVMX86CodeGen<br>
[ 36%] Built target LLVMX86Disassembler<br>
[ 36%] Built target LLVMX86AsmPrinter<br>
[ 37%] Built target LLVMX86Desc<br>
[ 37%] Built target LLVMX86Info<br>
[ 37%] Built target LLVMX86Utils<br>
[ 37%] Built target LLVMAsmParser<br>
[ 39%] Built target LLVMProfileData<br>
[ 40%] Built target obj.clang-tblgen<br>
[ 40%] Built target clang-tblgen<br>
[ 41%] Built target ClangAttrClasses<br>
[ 41%] Built target ClangAttrImpl<br>
[ 41%] Built target ClangAttrDump<br>
[ 43%] Built target ClangAttrVisitor<br>
[ 43%] Built target ClangStmtNodes<br>
[ 43%] Built target ClangDeclNodes<br>
[ 43%] Built target ClangCommentNodes<br>
[ 43%] Built target ClangCommentHTMLTags<br>
[ 43%] Built target ClangCommentHTMLTagsProperties<br>
[ 43%] Built target ClangCommentHTMLNamedCharacterReferences<br>
[ 43%] Built target ClangCommentCommandInfo<br>
[ 43%] Built target ClangCommentCommandList<br>
[ 43%] Built target ClangDiagnosticAnalysis<br>
[ 43%] Built target ClangDiagnosticAST<br>
[ 43%] Built target ClangDiagnosticComment<br>
[ 43%] Built target ClangDiagnosticCommon<br>
[ 43%] Built target ClangDiagnosticDriver<br>
[ 44%] Built target ClangDiagnosticFrontend<br>
[ 44%] Built target ClangDiagnosticLex<br>
[ 44%] Built target ClangDiagnosticParse<br>
[ 44%] Built target ClangDiagnosticSema<br>
[ 44%] Built target ClangDiagnosticSerialization<br>
[ 44%] Built target ClangDiagnosticGroups<br>
[ 44%] Built target ClangDiagnosticIndexName<br>
[ 44%] Built target ClangAttrList<br>
[ 44%] Built target ClangAttrHasAttributeImpl<br>
[ 44%] Built target ClangARMNeon<br>
[ 44%] Built target ClangAttrParsedAttrList<br>
[ 44%] Built target ClangAttrParserStringSwitches<br>
[ 44%] Built target ClangAttrTemplateInstantiate<br>
[ 44%] Built target ClangAttrParsedAttrKinds<br>
[ 44%] Built target ClangAttrSpellingListIndex<br>
[ 44%] Built target ClangAttrParsedAttrImpl<br>
[ 44%] Built target ClangAttrPCHRead<br>
[ 44%] Built target ClangAttrPCHWrite<br>
[ 48%] Built target clang-headers<br>
[ 49%] Built target clangBasic<br>
[ 50%] Built target clangLex<br>
[ 50%] Built target clangParse<br>
[ 53%] Built target clangAST<br>
[ 54%] Built target clangAnalysis<br>
[ 56%] Built target clangSema<br>
[ 59%] Built target clangCodeGen<br>
[ 59%] Built target clangEdit<br>
[ 60%] Built target clangRewrite<br>
[ 62%] Built target clangARCMigrate<br>
[ 62%] Built target ClangDriverOptions<br>
[ 63%] Built target clangDriver<br>
[ 63%] Built target clangSerialization<br>
[ 63%] Built target clangRewriteFrontend<br>
[ 65%] Built target clangFrontend<br>
[ 65%] Built target clangFrontendTool<br>
[ 65%] Built target ClangSACheckers<br>
[ 69%] Built target clangStaticAnalyzerCheckers<br>
[ 72%] Built target clangStaticAnalyzerCore<br>
[ 72%] Built target clangStaticAnalyzerFrontend<br>
[ 72%] Built target clang<br>
[ 74%] Built target RTSanitizerCommon.x86_64<br>
[ 74%] Built target RTInterception.x86_64<br>
[ 74%] Built target RTSanitizerCommonLibc.x86_64<br>
[ 74%] Built target clang_rt.cfi-x86_64<br>
[ 74%] Built target cfi_blacklist<br>
[ 74%] Built target RTUbsan.x86_64<br>
[ 74%] Built target clang_rt.cfi_diag-x86_64<br>
[ 74%] Built target cfi<br>
[ 75%] Built target compiler-rt-headers<br>
[ 83%] Built target clang_rt.builtins-x86_64<br>
[ 83%] Built target builtins<br>
[ 83%] Built target RTLSanCommon.x86_64<br>
[ 83%] Built target clang_rt.lsan-x86_64<br>
[ 83%] Built target lsan<br>
[ 83%] Built target RTUbsan_cxx.x86_64<br>
[ 83%] Built target clang_rt.ubsan_standalone_cxx-x86_64<br>
[ 83%] Built target clang_rt.ubsan_standalone_cxx-x86_64-symbols<br>
[ 83%] Built target RTUbsan_standalone.x86_64<br>
[ 83%] Built target clang_rt.ubsan_standalone-x86_64<br>
[ 83%] Built target clang_rt.ubsan_standalone-x86_64-symbols<br>
[ 83%] Built target ubsan<br>
[ 84%] Built target RTAsan_dynamic.x86_64<br>
[ 86%] Built target RTAsan.x86_64<br>
[ 86%] Built target RTAsan_preinit.x86_64<br>
[ 86%] Built target clang_rt.asan-x86_64<br>
[ 86%] Built target RTAsan_cxx.x86_64<br>
[ 86%] Built target clang_rt.asan_cxx-x86_64<br>
Scanning dependencies of target RTAsan_dynamic_version_script_dummy.x86_64<br>
[ 86%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.x86_64.dir/dummy.cc.o<br>
[ 86%] Built target RTAsan_dynamic_version_script_dummy.x86_64<br>
Linking CXX shared library ../../../../lib/clang/3.9.0/lib/linux/<a href="http://libclang_rt.asan-x86_64.so" target="_blank">libclang_rt.asan-x86_64.so</a><br>
[ 86%] Built target clang_rt.asan-dynamic-x86_64<br>
[ 86%] Built target clang_rt.asan-preinit-x86_64<br>
[ 86%] Built target clang_rt.asan_cxx-x86_64-symbols<br>
[ 86%] Built target asan_blacklist<br>
[ 86%] Built target clang_rt.asan-x86_64-symbols<br>
[ 86%] Built target asan<br>
[ 87%] Built target clang_rt.msan_cxx-x86_64<br>
[ 87%] Built target clang_rt.msan_cxx-x86_64-symbols<br>
[ 87%] Built target msan_blacklist<br>
[ 87%] Built target clang_rt.msan-x86_64<br>
[ 87%] Built target clang_rt.msan-x86_64-symbols<br>
[ 87%] Built target msan<br>
[ 87%] Built target clang_rt.dfsan-x86_64<br>
[ 87%] Built target clang_rt.dfsan-x86_64-symbols<br>
[ 87%] Built target dfsan_abilist<br>
[ 87%] Built target dfsan<br>
[ 87%] Built target clang_rt.profile-x86_64<br>
[ 87%] Built target profile<br>
[ 88%] Built target clang_rt.tsan-x86_64<br>
[ 88%] Built target clang_rt.tsan-x86_64-symbols<br>
[ 88%] Built target clang_rt.tsan_cxx-x86_64<br>
[ 88%] Built target clang_rt.tsan_cxx-x86_64-symbols<br>
[ 88%] Built target tsan<br>
[ 88%] Built target clang_rt.dd-x86_64<br>
[ 88%] Built target RTDD.x86_64<br>
[ 88%] Built target clang_rt.dyndd-dynamic-x86_64<br>
[ 88%] Built target dd<br>
[ 88%] Built target compiler-rt<br>
[ 88%] Built target test-suite-clobber<br>
CMakeFiles/test-suite.dir/build.make:112: *** target pattern contains no `%'.  Stop.<br>
make[1]: *** [CMakeFiles/test-suite.dir/all] Error 2<br>
make: *** [all] Error 2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">I understand there is some changes recently, but I am totally not aware of that, sorry.   How to overcome the compilation problem right now?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Thanks.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>