[cfe-dev] LLVM and LIT Issue

Srinivas Kakarla1 via cfe-dev cfe-dev at lists.llvm.org
Tue Mar 12 23:49:46 PDT 2019


Hi ,

Here is the error info and log.
Please check and provide the solution.

cd test-suite-build/$ 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!
/test-suite/CMakeFiles/CMakeOutput.log".

$ whereis clangclang: /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

Regards,
Srinivas


-----"cfe-dev" <cfe-dev-bounces at lists.llvm.org> wrote: -----
To: cfe-dev at lists.llvm.org
From: Srinivas Kakarla1 via cfe-dev 
Sent by: "cfe-dev" 
Date: 03/13/2019 11:49AM
Subject: [cfe-dev] LLVM  and LIT Issue

"External email. Open with Caution"
Hi ,

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.


Regards,
Srinivas
=====-----=====-----=====
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain 
 confidential or privileged information. If you are 
 not the intended recipient, any dissemination, use, 
 review, distribution, printing or copying of the 
 information contained in this e-mail message 
 and/or attachments to it are strictly prohibited. If 
 you have received this communication in error, 
 please notify us by reply e-mail or telephone and 
 immediately and permanently delete the message 
 and any attachments. Thank you
  
 
_______________________________________________
cfe-dev mailing list
cfe-dev at lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190313/abcac5cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: application/octet-stream
Size: 56341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190313/abcac5cf/attachment.obj>


More information about the cfe-dev mailing list