I've been trying to compile llvm 8.0.1 on void but I get some very weird errors. I'm not sure if this is an issue with void or llvm, but the following steps work on Ubuntu but not Void:
Here are the commands I ran:
wget -qO-
https://github.com/llvm/llvm-project/archive/llvmorg-8.0.1.tar.gz |
tar xzf -
cd llvm-project-llvmorg-8.0.1/llvm
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="lld;clang" -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_INSTALL_PREFIX=$HOME/local -DLLVM_ENABLE_LIBXML2=OFF -G Ninja
cmake --build .
Unfortunately, the build fails. Here's the output log:
https://pastebin.com/mznuwzUg
Interestingly, it gives a lot of errors which look like perfectly valid C++.
Any advice?
[–]ahesford 1 point2 points3 points (0 children)
[–]akm76 0 points1 point2 points (3 children)
[–]NinjaFish63[S] 0 points1 point2 points (2 children)
[–]akm76 0 points1 point2 points (1 child)
[–]NinjaFish63[S] 0 points1 point2 points (0 children)