https://bugs.kde.org/show_bug.cgi?id=389473

--- Comment #16 from Tam HANNA <tam...@tamoggemon.com> ---
Hello,
thank you so much for talking back. Sadly, the program still fails:

tamhan@TAMHAN14:~/clazyspace/clazy$ clazy main.cpp 
: CommandLine Error: Option 'static-func-full-module-prefix' registered more
than once!
fatal error: error in backend: inconsistency in registered CommandLine options
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)


My command sequence for building is like this:

sudo apt-get remove cmake
wget http://www.cmake.org/files/v3.11/cmake-3.11.0.tar.gz 
tar -xvzf cmake-3.11.0.tar.gz 
cd cmake-3.11.0/ 
./configure 
make  -j 10
sudo make install 
cd ..


git clone https://github.com/llvm-mirror/llvm.git
cd llvm/
git checkout remotes/origin/release_60
cd tools
git clone https://github.com/llvm-mirror/clang.git
cd clang
git checkout remotes/origin/release_60
cd ..
cd ..
cd projects
git clone https://github.com/llvm-mirror/compiler-rt.git
cd ..
sudo apt-get remove clang llvm
mkdir build
cd build
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Release ..
make -j 10
sudo make install
cd ..
cd ..



git clone https://github.com/KDE/clazy
cd clazy
cmake -DCMAKE_BUILD_TYPE=Release

OR

cmake -DCMAKE_INSTALL_PREFIX=/data/prefix/clang-6.0 -DLLVM_INCLUDE_EXAMPLES=OFF
-DLLVM_TARGETS_TO_BUILD="X86" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
make -j 10
sudo make install

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to