[llvm-dev] [cfe-dev] [3.8 Release] We have branched
Daniel Sanders via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 29 05:44:24 PST 2016
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.
From: Martin O'Riordan [mailto:martin.oriordan at movidius.com]
Sent: 29 February 2016 13:26
To: Daniel Sanders
Subject: Re: [llvm-dev] [cfe-dev] [3.8 Release] We have branched
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 'llvm.org/docs/GettingStarted.html<http://llvm.org/docs/GettingStarted.html>' need to be updated.
MartinO
On Mon, Feb 29, 2016 at 1:09 PM, Daniel Sanders via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
Hi,
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.
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org<mailto:llvm-dev-bounces at lists.llvm.org>] On Behalf Of Peter Teoh via llvm-dev
Sent: 28 February 2016 14:31
To: llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
Subject: [llvm-dev] [cfe-dev] [3.8 Release] We have branched
With reference to the following thread:
http://lists.llvm.org/pipermail/llvm-dev/2016-January/094100.html
I am having the same issue. First I did a git pull of all the relevant directories and then doing a cmake:
cmake -DLLVM_ENABLE_DOXYGEN=ON -DLLVM_ENABLE_WERROR=OFF -DLLVM_TARGETS_TO_BUILD="X86" ../llvm
and followed by make:
[ 22%] Built target LLVMVectorize
[ 25%] Built target LLVMScalarOpts
[ 25%] Built target LLVMObjCARCOpts
[ 25%] Built target LLVMLinker
[ 29%] Built target LLVMAnalysis
[ 30%] Built target LLVMMCParser
[ 30%] Built target LLVMMCDisassembler
[ 32%] Built target LLVMMC
[ 32%] Built target LLVMOption
[ 34%] Built target LLVMObject
[ 34%] Built target LLVMDebugInfoCodeView
[ 34%] Built target LLVMTarget
[ 35%] Built target X86CommonTableGen
[ 35%] Built target LLVMX86AsmParser
[ 36%] Built target LLVMX86CodeGen
[ 36%] Built target LLVMX86Disassembler
[ 36%] Built target LLVMX86AsmPrinter
[ 37%] Built target LLVMX86Desc
[ 37%] Built target LLVMX86Info
[ 37%] Built target LLVMX86Utils
[ 37%] Built target LLVMAsmParser
[ 39%] Built target LLVMProfileData
[ 40%] Built target obj.clang-tblgen
[ 40%] Built target clang-tblgen
[ 41%] Built target ClangAttrClasses
[ 41%] Built target ClangAttrImpl
[ 41%] Built target ClangAttrDump
[ 43%] Built target ClangAttrVisitor
[ 43%] Built target ClangStmtNodes
[ 43%] Built target ClangDeclNodes
[ 43%] Built target ClangCommentNodes
[ 43%] Built target ClangCommentHTMLTags
[ 43%] Built target ClangCommentHTMLTagsProperties
[ 43%] Built target ClangCommentHTMLNamedCharacterReferences
[ 43%] Built target ClangCommentCommandInfo
[ 43%] Built target ClangCommentCommandList
[ 43%] Built target ClangDiagnosticAnalysis
[ 43%] Built target ClangDiagnosticAST
[ 43%] Built target ClangDiagnosticComment
[ 43%] Built target ClangDiagnosticCommon
[ 43%] Built target ClangDiagnosticDriver
[ 44%] Built target ClangDiagnosticFrontend
[ 44%] Built target ClangDiagnosticLex
[ 44%] Built target ClangDiagnosticParse
[ 44%] Built target ClangDiagnosticSema
[ 44%] Built target ClangDiagnosticSerialization
[ 44%] Built target ClangDiagnosticGroups
[ 44%] Built target ClangDiagnosticIndexName
[ 44%] Built target ClangAttrList
[ 44%] Built target ClangAttrHasAttributeImpl
[ 44%] Built target ClangARMNeon
[ 44%] Built target ClangAttrParsedAttrList
[ 44%] Built target ClangAttrParserStringSwitches
[ 44%] Built target ClangAttrTemplateInstantiate
[ 44%] Built target ClangAttrParsedAttrKinds
[ 44%] Built target ClangAttrSpellingListIndex
[ 44%] Built target ClangAttrParsedAttrImpl
[ 44%] Built target ClangAttrPCHRead
[ 44%] Built target ClangAttrPCHWrite
[ 48%] Built target clang-headers
[ 49%] Built target clangBasic
[ 50%] Built target clangLex
[ 50%] Built target clangParse
[ 53%] Built target clangAST
[ 54%] Built target clangAnalysis
[ 56%] Built target clangSema
[ 59%] Built target clangCodeGen
[ 59%] Built target clangEdit
[ 60%] Built target clangRewrite
[ 62%] Built target clangARCMigrate
[ 62%] Built target ClangDriverOptions
[ 63%] Built target clangDriver
[ 63%] Built target clangSerialization
[ 63%] Built target clangRewriteFrontend
[ 65%] Built target clangFrontend
[ 65%] Built target clangFrontendTool
[ 65%] Built target ClangSACheckers
[ 69%] Built target clangStaticAnalyzerCheckers
[ 72%] Built target clangStaticAnalyzerCore
[ 72%] Built target clangStaticAnalyzerFrontend
[ 72%] Built target clang
[ 74%] Built target RTSanitizerCommon.x86_64
[ 74%] Built target RTInterception.x86_64
[ 74%] Built target RTSanitizerCommonLibc.x86_64
[ 74%] Built target clang_rt.cfi-x86_64
[ 74%] Built target cfi_blacklist
[ 74%] Built target RTUbsan.x86_64
[ 74%] Built target clang_rt.cfi_diag-x86_64
[ 74%] Built target cfi
[ 75%] Built target compiler-rt-headers
[ 83%] Built target clang_rt.builtins-x86_64
[ 83%] Built target builtins
[ 83%] Built target RTLSanCommon.x86_64
[ 83%] Built target clang_rt.lsan-x86_64
[ 83%] Built target lsan
[ 83%] Built target RTUbsan_cxx.x86_64
[ 83%] Built target clang_rt.ubsan_standalone_cxx-x86_64
[ 83%] Built target clang_rt.ubsan_standalone_cxx-x86_64-symbols
[ 83%] Built target RTUbsan_standalone.x86_64
[ 83%] Built target clang_rt.ubsan_standalone-x86_64
[ 83%] Built target clang_rt.ubsan_standalone-x86_64-symbols
[ 83%] Built target ubsan
[ 84%] Built target RTAsan_dynamic.x86_64
[ 86%] Built target RTAsan.x86_64
[ 86%] Built target RTAsan_preinit.x86_64
[ 86%] Built target clang_rt.asan-x86_64
[ 86%] Built target RTAsan_cxx.x86_64
[ 86%] Built target clang_rt.asan_cxx-x86_64
Scanning dependencies of target RTAsan_dynamic_version_script_dummy.x86_64
[ 86%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.x86_64.dir/dummy.cc.o
[ 86%] Built target RTAsan_dynamic_version_script_dummy.x86_64
Linking CXX shared library ../../../../lib/clang/3.9.0/lib/linux/libclang_rt.asan-x86_64.so<http://libclang_rt.asan-x86_64.so>
[ 86%] Built target clang_rt.asan-dynamic-x86_64
[ 86%] Built target clang_rt.asan-preinit-x86_64
[ 86%] Built target clang_rt.asan_cxx-x86_64-symbols
[ 86%] Built target asan_blacklist
[ 86%] Built target clang_rt.asan-x86_64-symbols
[ 86%] Built target asan
[ 87%] Built target clang_rt.msan_cxx-x86_64
[ 87%] Built target clang_rt.msan_cxx-x86_64-symbols
[ 87%] Built target msan_blacklist
[ 87%] Built target clang_rt.msan-x86_64
[ 87%] Built target clang_rt.msan-x86_64-symbols
[ 87%] Built target msan
[ 87%] Built target clang_rt.dfsan-x86_64
[ 87%] Built target clang_rt.dfsan-x86_64-symbols
[ 87%] Built target dfsan_abilist
[ 87%] Built target dfsan
[ 87%] Built target clang_rt.profile-x86_64
[ 87%] Built target profile
[ 88%] Built target clang_rt.tsan-x86_64
[ 88%] Built target clang_rt.tsan-x86_64-symbols
[ 88%] Built target clang_rt.tsan_cxx-x86_64
[ 88%] Built target clang_rt.tsan_cxx-x86_64-symbols
[ 88%] Built target tsan
[ 88%] Built target clang_rt.dd-x86_64
[ 88%] Built target RTDD.x86_64
[ 88%] Built target clang_rt.dyndd-dynamic-x86_64
[ 88%] Built target dd
[ 88%] Built target compiler-rt
[ 88%] Built target test-suite-clobber
CMakeFiles/test-suite.dir/build.make:112: *** target pattern contains no `%'. Stop.
make[1]: *** [CMakeFiles/test-suite.dir/all] Error 2
make: *** [all] Error 2
I understand there is some changes recently, but I am totally not aware of that, sorry. How to overcome the compilation problem right now?
Thanks.
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160229/4e53a515/attachment.html>
More information about the llvm-dev
mailing list