[cfe-dev] [llvm-dev] Proper way to build LLVM+Clang

Dobby HouseElf via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 10 15:07:09 PDT 2020


 Thanks for providing build error, I haven't seen this one but, perhaps someone else may be able to help resolve this.
A couple of things you may want to check -   
   - Git configuration (core.autocrlf false)
   - Get the latest command line tools package for Mac (Refer this StackOverflow answer - Can't compile C program on a Mac after upgrade to Mojave)

Cheers!    On Saturday, July 25, 2020, 09:52:37 PM PDT, Aditya Atluri <aditya.gpu01 at gmail.com> wrote:  
 
 Not so much actually, I am seeing build error for libc on MacOS Mojave

CMake Error at /Users/aditya/Code/github/llvm_src/llvm-project/libc/CMakeLists.txt:72 (include):

  include could not find load file:




    /Users/aditya/Code/github/llvm_src/llvm-project/libc/config/darwin/x86_64/entrypoints.txt







CMake Error at /Users/aditya/Code/github/llvm_src/llvm-project/libc/CMakeLists.txt:73 (include):

  include could not find load file:




    /Users/aditya/Code/github/llvm_src/llvm-project/libc/config/darwin/x86_64/headers.txt







-- Skipping libc entrypoint libc.src.assert.__assert_fail.

-- Skipping libc entrypoint libc.src.errno.__errno_location.

-- Skipping libc entrypoint libc.src.math.cosf.

-- Skipping libc entrypoint libc.src.math.sinf.

-- Skipping libc entrypoint libc.src.math.sincosf.



On Tue, Jul 7, 2020 at 5:16 PM Dobby HouseElf <dobby.thefreeelf at yahoo.com> wrote:



Hello,
Are you trying to build LLVM from GitHub source (https://github.com/llvm/llvm-project)?The README.md describes the build steps pretty clearly.
On Linux, I use:  $ cd llvm-project $ mkdir build $ cd build $ cmake "Unix Makefiles" -DLLVM_ENABLE_PROJECTS=clang ../llvm $ make 
Hope that helps!

-----------------------------------------------------------------------------------------------------------------------------From: llvm-dev<llvm-dev-bounces at lists.llvm.org> On Behalf Of Aditya Atluri viallvm-dev
Sent: Friday, July 3, 2020 9:04 AM
To: LLVM Dev <llvm-dev at lists.llvm.org>; cfe-dev at lists.llvm.org
Subject: [llvm-dev] Proper way to build LLVM+ClangSent: Friday, July 3, 2020 9:04 AM
To: LLVM Dev <llvm-dev at lists.llvm.org>; cfe-dev at lists.llvm.org
Subject: [llvm-dev] Proper way to build LLVM+Clang


 

Hi,

I couldn't find a decent guide to buildllvm+clang and all the other projects after moving to llvm-project. I amchecking with you to know how you are building llvm+clang+projects

 

Thank you!


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200810/af268f0c/attachment.html>


More information about the cfe-dev mailing list