I was trying to compile the CLANG LLVM and LIT setup.
I am following the below steps.
1.https://llvm.org/docs/TestSuiteGuide.html // LIT Setup
2.https://clang.llvm.org/get_started.html // LLVM setup
My system got hanged during LLVM compilation ( system configuration i5 8gb RAM,500 HDD).
I tried in another system also same problem.
Ubuntu also crashed after force reboot.I could able to send any logs and error .
Can you help me to setup LLVM and LIT.
Here is the error info and log.
Please check and provide the solution.
$ cmake -DCMAKE_C_COMPILER=/usr/bin/clang -C…/test-suite/cmake/caches/O3.cmake …/test-suite
loading initial cache file …/test-suite/cmake/caches/O3.cmake
CMake Error at CMakeLists.txt:50 (message):
In-source builds are not allowed.
CMake would overwrite the makefiles distributed with LLVM.
Please create a directory and run cmake from there, passing the path
to this source directory as the last argument.
This process created the file
CMakeCache.txt' and the directory CMakeFiles’.
Please delete them.
– Configuring incomplete, errors occurred!
$ whereis clang
clang: /usr/bin/clang /usr/lib/clang /usr/include/clang /usr/share/clang /opt/rocm/opencl/bin/x86_64/clang
$ whereis g++
g++: /usr/bin/g++ /usr/share/man/man1/g++.1.gz
-----“cfe-dev” <firstname.lastname@example.org> wrote: -----
CMakeOutput.log (55 KB)