[llvm-dev] CMake Loop while building LLVM release build.
Neil Nelson via llvm-dev
llvm-dev at lists.llvm.org
Tue Aug 6 09:28:43 PDT 2019
I use the following on Xubuntu 19.04 without problems, noting there are
a number of packages that are useful to install.
cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_USE_LINKER=lld
-DCMAKE_BUILD_TYPE="Release" -DLLVM_ENABLE_ASSERTIONS=On ../llvm
Be sure to delete (rm -rf) your build directory and start new when you
have to rerun cmake.
I also install clang and lld from the distribution and use it for
compiling and linking.
Regards, Neil Nelson
On 8/6/19 12:32 AM, vivek pandya via llvm-dev wrote:
> I build my release build with following cmake command on Ubuntu Linux:
> cmake ../llvm_git/llvm -GNinja -DCMAKE_BUILD_TYPE=Release
> -DLLVM_TARGETS_TO_BUILD='X86' -DLLVM_OPTIMIZED_TABLEGEN=1
> -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_EH=ON
> -DLLVM_ENABLE_PROJECTS='clang' -DLLVM_USE_LINKER=gold
> -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_ENABLE_ASSERTIONS=On
> Today after git pull
> my ninja command keeps re-running cmake.
> Anyone elase facing same issue?
> Any hint on what is going wrong?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev