LLVM and LIT Issue

Hi ,

I made some progress ,But i encountered the below error( llvm-size not found).

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:92 (message):
llvm-size not found.

Make sure it is in your path or set TEST_SUITE_COLLECT_CODE_SIZE to OFF

– Configuring incomplete, errors occurred!
See also “/test-suite-build/CMakeFiles/CMakeOutput.log”.
See also “/test-suite-build/CMakeFiles/CMakeError.log”.

Can you please error and logs and let me the issue.

Regards,
Srinivas

-----Srinivas Kakarla1/HYD/TCS wrote: -----

CMakeError.log (7.54 KB)

CMakeOutput.log (111 KB)

Hi,

I'm not sure whether your problem have been solved, but can you try
using gcc instead of clang to build llvm & clang in your computer?
Maybe your local clang toolchain isn't complete.