[llvm-dev] Some xcode schemes not appearing now in Xcode after cmake install (??)

Joan Lluch via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 26 02:52:22 PDT 2019


Hi all

In order to get ready for the upcoming final 9.0 release code I have now switched to the 'release/9.x' branch that I pulled from github.

Unfortunately, after running cmake in the usual way, I found that many xcode schemes are missing on the resulting project.

Particularly, I added -DLLVM_ENABLE_PROJECTS=clang to the terminal command line. The logs correctly state that ‘clang project is enabled’. However, the ‘clang’ schema, and anything related with clang, is completely missing in the generated xcode project, so clang can’t be compiled.

This is the full command line that I used from the 'llvm-project/build' directory:

cmake -G Xcode -DCMAKE_INSTALL_PREFIX=/Users/joan/LLVM-9/install -DLLVM_OPTIMIZED_TABLEGEN=On -DLLVM_ENABLE_PROJECTS="clang" ../llvm

I know that the quick reply to my issue is: 'just use Ninja’, but I have already replied to that in the past. My work on LLVM+clang to create a compiler backend is essentially completed and the compiler is just a small part of a bigger project. I need to dedicate time now to something else. I am increasingly disappointed that something that worked fine, just keeps breaking every time I pull changes from the remote repo, by not being able to even compile it.

So, please, can anybody give me a clue on what can be wrong now with LLVM and xcode, and a possible workaround?

Thanks in advance.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190726/e6fa9364/attachment.html>


More information about the llvm-dev mailing list