<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I did this:</div><div><br></div><div>$ cmake -DCMAKE_INSTALL_PREFIX=~/llvm-2.8 -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 ..</div><div>$ make</div><div>$ make install</div><div><br></div><div>Still didn't install the headers.</div><div><br></div><div><div>$ cd ~/llvm-2.8/include/</div></div><div><div>$ ls -la</div><div>total 0</div><div>drwxr-xr-x  2 samuel  staff   68  1 Oct 12:47 .</div><div>drwxr-xr-x  6 samuel  staff  204  1 Oct 12:47 ..</div></div><div><br></div><div>Libraries and binaries installed fine:</div><div><br></div><div><div>$ cd ../lib/</div><div>$ ls -la</div><div>total 44600</div><div>drwxr-xr-x  2 samuel  staff     1190  1 Oct 13:40 .</div><div>drwxr-xr-x  6 samuel  staff      204  1 Oct 12:47 ..</div><div>-rwxr-xr-x  1 samuel  staff    17736  1 Oct 13:40 BugpointPasses.so</div><div>-rwxr-xr-x  1 samuel  staff    17304  1 Oct 13:36 LLVMHello.so</div><div>-rw-r--r--  1 samuel  staff    11592  1 Oct 13:40 libEnhancedDisassembly.a</div><div>-rw-r--r--  1 samuel  staff  2229616  1 Oct 13:40 libLLVMAnalysis.a</div><div>-rw-r--r--  1 samuel  staff    80080  1 Oct 13:40 libLLVMArchive.a</div><div>-rw-r--r--  1 samuel  staff   375672  1 Oct 13:40 libLLVMAsmParser.a</div><div>-rw-r--r--  1 samuel  staff   417544  1 Oct 13:40 libLLVMAsmPrinter.a</div><div>-rw-r--r--  1 samuel  staff   195016  1 Oct 13:40 libLLVMBitReader.a</div><div>-rw-r--r--  1 samuel  staff   170536  1 Oct 13:40 libLLVMBitWriter.a</div><div>-rw-r--r--  1 samuel  staff  3275696  1 Oct 13:40 libLLVMCodeGen.a</div><div>-rw-r--r--  1 samuel  staff  2523744  1 Oct 13:40 libLLVMCore.a</div><div>-rw-r--r--  1 samuel  staff   134504  1 Oct 13:40 libLLVMExecutionEngine.a</div><div>-rw-r--r--  1 samuel  staff   926488  1 Oct 13:40 libLLVMInstCombine.a</div></div><div><b>* snip *</b></div><div><br></div><div>Could there be some additional option required for development files? Currently, I have CMAKE_BUILD_TYPE=Release - maybe this doesn't install headers?</div><div><br></div><div>Kind regards,</div><div>Samuel</div><div><br><div><div>On 1/10/2010, at 11:52 AM, Óscar Fuentes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>The following message is a courtesy copy of an article<br>that has been posted to gmane.comp.compilers.llvm.devel as well.<br><br>Samuel Williams <<a href="mailto:space.ship.traveller@gmail.com">space.ship.traveller@gmail.com</a>> writes:<br><br>[snip]<br><br><blockquote type="cite">The problem is that exactly the same arguments to CMake on Mac OS X<br></blockquote><blockquote type="cite">and Linux give different results.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Mac OS X, headers are not installed. On Linux, they are<br></blockquote><blockquote type="cite">installed. I've tested this on Debian Linux and OS X 10.6.4 both with<br></blockquote><blockquote type="cite">CMake >= 2.8.0<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am not sure how to debug this problem. Does anyone have any<br></blockquote><blockquote type="cite">experience with CMake command line on Mac OS X?<br></blockquote><br>It should work the same, regardless of what interface you use for<br>configuring. Else, it would be a strong indication of a bug on cmake.<br><br>The commands for installing the headers are at the end of the top-level<br>CMakeLists.txt.<br><br>Try building and installing without `sudo', i.e. under your home<br>directory. Whatever result you get will be useful to know.<br></div></blockquote></div><br></div></body></html>