[cfe-dev] Install circumvented with NO_INSTALL

Axel Naumann Axel.Naumann at cern.ch
Wed Oct 7 14:13:03 PDT 2009


Hi,

does this make sense? It works for me.

I copied the install-local rule from llvm/Makefile.rules to
clang/Makefile because it's slightly different. Let me know if I can
change anything.

Cheers, Axel.

On 2009-10-07 18:44, Douglas Gregor wrote:
> On Oct 7, 2009, at 7:31 AM, Simone Pellegrini wrote:
> 
>> Dear all,
>> I am trying to compile and use the latest pre-release-2 of llvm-2.6  
>> but
>> now the default behaviour of the Makefile is to DO NOT install clang
>> libraries. :(
> 
> We don't currently install Clang libraries (or headers) because, at  
> the time that we wrote the makefiles, we didn't consider them stable  
> enough for external tools to be built on them. However, the interfaces  
> are probably "stable enough" now (by LLVM's definition of API  
> stability), that it's reasonable to start installing Clang libraries +  
> headers.
> 
>> How can I enable the generation of clang libraries? I don't see any
>> option in the ./configure script.
> 
> 
> You would need to remove the
> 
> 	NO_INSTALL = 1
> 
> lines from the Clang library makefiles and add some makefile magic to  
> install the Clang headers. (Plus, CMake
> 
> 	- Doug
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_install.diff.gz
Type: application/x-gzip
Size: 862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091007/d9ba4d4f/attachment.bin>


More information about the cfe-dev mailing list