CMake "sudo make install" & headers

Hi,

I might just be doing something stupid, but when I do

$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release ..
$ sudo make install

I don't get the expected headers in
  /usr/local/llvm-2.8/include/llvm

It is simply an empty directory.

What am I doing wrong? This is on Mac OS X, CMake 2.8+

Kind regards,
Samuel

Samuel Williams <space.ship.traveller@gmail.com> writes:

I might just be doing something stupid, but when I do

$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release ..
$ sudo make install

I don't get the expected headers in
  /usr/local/llvm-2.8/include/llvm

It is simply an empty directory.

It works fine for me on Linux & cmake 2.8.2

What am I doing wrong? This is on Mac OS X, CMake 2.8+

Maybe a platform-specific bug on cmake.

Try

$ make && sudo make install

(after throwing away your previous, sudo-ized build directory)

Building as root creates a lot of files owned by the superuser on your
build directory. This is an inconvenience because you are forced to use
`sudo' again for other operations on that directory.

Hi Oscar,

I tried that but it didn't work. However, it did work fine on Linux for me so I am now a bit confused.

Here is the output from $ sudo make install

Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSupport.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSystem.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCore.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSelectionDAG.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMBitReader.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMBitWriter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMTransformUtils.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMInstrumentation.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMInstCombine.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMScalarOpts.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMipo.a
-- Up-to-date: /usr/local/llvm-2.8/lib/LLVMHello.so
-- Installing: /usr/local/llvm-2.8/lib/libLLVMLinker.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMAnalysis.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMipa.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMC.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMCParser.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMCDisassembler.a
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-lit
-- Installing: /usr/local/llvm-2.8/lib/libLLVMAlphaCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMAlphaInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMAlphaAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMARMCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMARMInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMARMAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMARMAsmParser.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMBlackfinCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMBlackfinInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMBlackfinAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCBackend.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCBackendInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCellSPUCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCellSPUInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCellSPUAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCppBackend.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMCppBackendInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMipsCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMipsInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMipsAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMBlazeCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMBlazeInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMBlazeAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMSP430CodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMSP430Info.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMMSP430AsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMPIC16CodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMPIC16Info.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMPIC16AsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMPowerPCCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMPowerPCInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMPowerPCAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSparcCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSparcInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSparcAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSystemZCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSystemZInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMSystemZAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMX86CodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMX86Info.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMX86AsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMX86AsmParser.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMX86Disassembler.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMXCoreCodeGen.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMXCoreInfo.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMXCoreAsmPrinter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMExecutionEngine.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMInterpreter.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMJIT.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMTarget.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMAsmParser.a
-- Installing: /usr/local/llvm-2.8/lib/libLLVMArchive.a
-- Installing: /usr/local/llvm-2.8/bin/llvm-config
-- Up-to-date: /usr/local/llvm-2.8/bin/opt
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-as
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-dis
-- Installing: /usr/local/llvm-2.8/bin/llvm-mc
-- Installing: /usr/local/llvm-2.8/bin/llc
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-ranlib
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-ar
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-nm
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-ld
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-prof
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-link
-- Up-to-date: /usr/local/llvm-2.8/bin/lli
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-extract
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-diff
-- Up-to-date: /usr/local/llvm-2.8/bin/bugpoint
-- Up-to-date: /usr/local/llvm-2.8/lib/BugpointPasses.so
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-bcanalyzer
-- Up-to-date: /usr/local/llvm-2.8/bin/llvm-stub
-- Installing: /usr/local/llvm-2.8/lib/libEnhancedDisassembly.a
-- Up-to-date: /usr/local/llvm-2.8/share/llvm/cmake/LLVM.cmake
-- Up-to-date: /usr/local/llvm-2.8/share/llvm/cmake/LLVMConfig.cmake
-- Up-to-date: /usr/local/llvm-2.8/share/llvm/cmake/LLVMLibDeps.cmake

On Linux, there is also a list of headers as part of this output.

Any ideas?

Kind regards,
Samuel

Hi Samuel,

I always just click the icon for CMake on the Mac. Then you select a
destination directory for the headers from the graphical user interface and the
source where the cmakefile.txt root is. Then you click on the configure button
at the bottom. It will ask you if you want to make Unix Makefiles or XCode
Projects or Eclipse Projects or a couple of other options. Pick the one you
want, then click the Okay button. It should start parsing the cmakefile.txt
files and come up with some configuration options. The new ones are displayed
in red. Select the settings for each red one and hit configure again. It may
show more red ones the second time around. Keep setting the settings until the
Generate button is highlighted. Clicking Generate will generate the makefiles
or project files you requested.

Yours truly,

--Sam

Dear Sam,

Thanks for your detailed response, however I am using the command line tool.

The problem is that exactly the same arguments to CMake on Mac OS X and Linux give different results.

On Mac OS X, headers are not installed. On Linux, they are installed. I've tested this on Debian Linux and OS X 10.6.4 both with CMake >= 2.8.0

I am not sure how to debug this problem. Does anyone have any experience with CMake command line on Mac OS X?

Kind regards,
Samuel

Samuel Williams <space.ship.traveller@gmail.com> writes:

[snip]

The problem is that exactly the same arguments to CMake on Mac OS X
and Linux give different results.

On Mac OS X, headers are not installed. On Linux, they are
installed. I've tested this on Debian Linux and OS X 10.6.4 both with
CMake >= 2.8.0

I am not sure how to debug this problem. Does anyone have any
experience with CMake command line on Mac OS X?

It should work the same, regardless of what interface you use for
configuring. Else, it would be a strong indication of a bug on cmake.

The commands for installing the headers are at the end of the top-level
CMakeLists.txt.

Try building and installing without `sudo', i.e. under your home
directory. Whatever result you get will be useful to know.

Hi,

I did this:

$ cmake -DCMAKE_INSTALL_PREFIX=~/llvm-2.8 -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 …
$ make
$ make install

Still didn’t install the headers.

$ cd ~/llvm-2.8/include/

$ ls -la
total 0
drwxr-xr-x 2 samuel staff 68 1 Oct 12:47 .
drwxr-xr-x 6 samuel staff 204 1 Oct 12:47 …

Libraries and binaries installed fine:

$ cd …/lib/
$ ls -la
total 44600
drwxr-xr-x 2 samuel staff 1190 1 Oct 13:40 .
drwxr-xr-x 6 samuel staff 204 1 Oct 12:47 …
-rwxr-xr-x 1 samuel staff 17736 1 Oct 13:40 BugpointPasses.so
-rwxr-xr-x 1 samuel staff 17304 1 Oct 13:36 LLVMHello.so
-rw-r–r-- 1 samuel staff 11592 1 Oct 13:40 libEnhancedDisassembly.a
-rw-r–r-- 1 samuel staff 2229616 1 Oct 13:40 libLLVMAnalysis.a
-rw-r–r-- 1 samuel staff 80080 1 Oct 13:40 libLLVMArchive.a
-rw-r–r-- 1 samuel staff 375672 1 Oct 13:40 libLLVMAsmParser.a
-rw-r–r-- 1 samuel staff 417544 1 Oct 13:40 libLLVMAsmPrinter.a
-rw-r–r-- 1 samuel staff 195016 1 Oct 13:40 libLLVMBitReader.a
-rw-r–r-- 1 samuel staff 170536 1 Oct 13:40 libLLVMBitWriter.a
-rw-r–r-- 1 samuel staff 3275696 1 Oct 13:40 libLLVMCodeGen.a
-rw-r–r-- 1 samuel staff 2523744 1 Oct 13:40 libLLVMCore.a
-rw-r–r-- 1 samuel staff 134504 1 Oct 13:40 libLLVMExecutionEngine.a
-rw-r–r-- 1 samuel staff 926488 1 Oct 13:40 libLLVMInstCombine.a

* snip *

Could there be some additional option required for development files? Currently, I have CMAKE_BUILD_TYPE=Release - maybe this doesn’t install headers?

Kind regards,
Samuel

If that was a problem, wouldn’t it affect the installation of every other type of file? Also, wouldn’t that be a really strange bug?

Anyway, I checked and the path was expanded, probably by the shell:

– Install configuration: “Release”
– Installing: /Users/samuel/llvm-2.8/lib/libLLVMSupport.a
– Installing: /Users/samuel/llvm-2.8/lib/libLLVMSystem.a
– Installing: /Users/samuel/llvm-2.8/lib/libLLVMCore.a
– Installing: /Users/samuel/llvm-2.8/lib/libLLVMCodeGen.a

Still no solution.

Kind regards,
Samuel

Samuel Williams <space.ship.traveller@gmail.com> writes:

[snip]

Could there be some additional option required for development files?
Currently, I have CMAKE_BUILD_TYPE=Release - maybe this doesn't
install headers?

`make install' installs everything, always, no options required.

Dear Oscar,

Thanks for the clarification - thats what I expected, and that is how it works on my Linux computer.

However, I am still having problems on Mac OS X with headers not being installed.

Is the person who put together the CMake build files available to diagnose the problem?

Maybe I should try it on another Mac... I only have one however.

Kind regards,
Samuel

Samuel Williams <space.ship.traveller@gmail.com> writes:

[snip]

However, I am still having problems on Mac OS X with headers not being
installed.

Is the person who put together the CMake build files available to
diagnose the problem?

Maybe I should try it on another Mac... I only have one however.

I'm the person who put together the CMake build files, but sadly I have
less Macs than you :-/

That said, you are the first one who reports this problem, and there are
quite a few OSX users here. So I tend to suspect that something specific
of your machine triggers a bug in CMake.

Dear Óscar,

Do many other Mac users use CMake from the command line?

Are you able to tell me the exact process that installs the headers, so I have somewhere to start to debug the issue?

Kind regards,
Samuel

Samuel Williams <space.ship.traveller@gmail.com> writes:

Do many other Mac users use CMake from the command line?

I would be very surprised if you get different results using the gui
interface of CMake.

Are you able to tell me the exact process that installs the headers,
so I have somewhere to start to debug the issue?

From the POV of the script author, there is no "process" involved: it is

just a CMake statement. You can do some experiments, like putting

message(STATUS "We reached the header install part")

just before

install(DIRECTORY include/
  DESTINATION include

on the toplevel CMakeLists.txt file, and see if the message appears on
the console when you invoke cmake. If it doesn't, that part of the
script is not being reached. This is a long shot, though.

What version or CMake are you using exactly? Did you build it, or did
you download the binary from cmake.org? What version of Mac OS X?
(including patch level)

Also, could you please try to replace

install(DIRECTORY include/
DESTINATION include

with

install(DIRECTORY include
DESTINATION include

? (no slash after 'include')

After some testing and mucking around, I found out there is something wrong:

install(DIRECTORY include/
  DESTINATION include
  PATTERN "*.def"
  PATTERN "*.h"
  PATTERN "*.td"
  PATTERN "*.inc"
  PATTERN ".svn" EXCLUDE
  )

If I change this to

install(DIRECTORY include/
  DESTINATION include
  )

Things start installing as expected. I'm trying to understand from the CMake documentation why this is not working as expected, but it isn't really making a whole lot of sense.

Kind regards,
Samuel

Sorry, the last email was incorrect, it was missing FILES_MATCHING. Here is updated configuration.

After some testing and mucking around, I found out there is something wrong:

install(DIRECTORY include/
  DESTINATION include
  FILES_MATCHING
  PATTERN "*.def"
  PATTERN "*.h"
  PATTERN "*.td"
  PATTERN "*.inc"
  PATTERN ".svn" EXCLUDE
  )
If I change this to

install(DIRECTORY include/
DESTINATION include
)

Things start installing as expected. I'm trying to understand from the CMake documentation why this is not working as expected, but it isn't really making a whole lot of sense.

Kind regards,
Samuel

Sorry for the rapid fire replies, but this configuration works for me:

install(DIRECTORY include/
DESTINATION include
# FILES_MATCHING
PATTERN “.def"
PATTERN "
.h”
PATTERN “.td"
PATTERN "
.inc”
PATTERN “.svn” EXCLUDE
)

install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
DESTINATION include
# FILES_MATCHING
PATTERN “.def"
PATTERN "
.h”
PATTERN “.gen"
PATTERN "
.inc”

Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by “*.def”

PATTERN “CMakeFiles” EXCLUDE
PATTERN “.svn” EXCLUDE
)

It seems like there is either a bug with FILES_MATCHING or an issue with the way it is being used.

The results of which can be seen at the end of this mail.

Kind regards,
Samuel

Appendix A:

Install the project…
– Install configuration: “Release”
– Installing: /usr/local/llvm-2.8/include
– Installing: /usr/local/llvm-2.8/include/llvm
– Installing: /usr/local/llvm-2.8/include/llvm/ADT
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/APFloat.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/APInt.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/APSInt.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/BitVector.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/DAGDeltaAlgorithm.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/DeltaAlgorithm.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/DenseMap.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/DenseMapInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/DenseSet.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/DepthFirstIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/EquivalenceClasses.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/FoldingSet.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/GraphTraits.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableIntervalMap.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableList.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableMap.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableSet.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/IndexedMap.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/IntrusiveRefCntPtr.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/NullablePtr.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/Optional.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/OwningPtr.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/PointerIntPair.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/PointerUnion.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/PostOrderIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/PriorityQueue.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SCCIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/STLExtras.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ScopedHashTable.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SetOperations.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SetVector.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallBitVector.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallPtrSet.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallSet.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallString.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallVector.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/SparseBitVector.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/Statistic.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/StringExtras.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/StringMap.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/StringRef.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/StringSet.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/StringSwitch.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/Trie.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/Triple.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/Twine.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/UniqueVector.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ValueMap.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/VectorExtras.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ilist.h
– Installing: /usr/local/llvm-2.8/include/llvm/ADT/ilist_node.h
– Installing: /usr/local/llvm-2.8/include/llvm/AbstractTypeUser.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/AliasAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/AliasSetTracker.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/CFGPrinter.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/CallGraph.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/CaptureTracking.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/CodeMetrics.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ConstantFolding.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ConstantsScanner.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/DOTGraphTraitsPass.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/DebugInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/DomPrinter.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/DominatorInternals.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Dominators.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/FindUsedTypes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/IVUsers.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/InlineCost.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/InstructionSimplify.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Interval.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/IntervalIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/IntervalPartition.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LazyValueInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LibCallAliasAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LibCallSemantics.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Lint.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LiveValues.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Loads.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LoopDependenceAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LoopInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LoopPass.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/MemoryBuiltins.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/MemoryDependenceAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/PHITransAddr.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Passes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/PointerTracking.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/PostDominators.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ProfileInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ProfileInfoLoader.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ProfileInfoTypes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/RegionInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/RegionIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/RegionPrinter.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ScalarEvolution.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ScalarEvolutionExpander.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ScalarEvolutionExpressions.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ScalarEvolutionNormalization.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/SparsePropagation.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Trace.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/ValueTracking.h
– Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Verifier.h
– Installing: /usr/local/llvm-2.8/include/llvm/Argument.h
– Installing: /usr/local/llvm-2.8/include/llvm/Assembly
– Installing: /usr/local/llvm-2.8/include/llvm/Assembly/AssemblyAnnotationWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/Assembly/Parser.h
– Installing: /usr/local/llvm-2.8/include/llvm/Assembly/PrintModulePass.h
– Installing: /usr/local/llvm-2.8/include/llvm/Assembly/Writer.h
– Installing: /usr/local/llvm-2.8/include/llvm/Attributes.h
– Installing: /usr/local/llvm-2.8/include/llvm/AutoUpgrade.h
– Installing: /usr/local/llvm-2.8/include/llvm/BasicBlock.h
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode/Archive.h
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode/BitCodes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode/BitstreamReader.h
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode/BitstreamWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode/LLVMBitCodes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Bitcode/ReaderWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/CMakeLists.txt
– Installing: /usr/local/llvm-2.8/include/llvm/CallGraphSCCPass.h
– Installing: /usr/local/llvm-2.8/include/llvm/CallingConv.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/Analysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/AsmPrinter.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/BinaryObject.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/CalcSpillWeights.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/CallingConvLower.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/FastISel.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/FunctionLoweringInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/GCMetadata.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/GCMetadataPrinter.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/GCStrategy.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/GCs.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ISDOpcodes.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/IntrinsicLowering.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/JITCodeEmitter.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LatencyPriorityQueue.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LiveInterval.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LiveIntervalAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LiveStackAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/LiveVariables.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachORelocation.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineBasicBlock.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineCodeEmitter.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineCodeInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineConstantPool.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineDominators.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineFrameInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineFunction.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineFunctionAnalysis.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineFunctionPass.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineInstr.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineInstrBuilder.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineJumpTableInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineLocation.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineLoopInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineMemOperand.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineModuleInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineModuleInfoImpls.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineOperand.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachinePassRegistry.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineRegisterInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineRelocation.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/MachineSSAUpdater.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ObjectCodeEmitter.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/Passes.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/PostRAHazardRecognizer.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ProcessImplicitDefs.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/PseudoSourceValue.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RegAllocRegistry.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RegisterCoalescer.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RegisterScavenging.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/RuntimeLibcalls.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ScheduleDAG.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ScheduleHazardRecognizer.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/SchedulerRegistry.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/SelectionDAG.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/SelectionDAGISel.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/SelectionDAGNodes.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/SlotIndexes.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ValueTypes.h
– Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ValueTypes.td
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Action.h
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/AutoGenerated.h
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/BuiltinOptions.h
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Common.td
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/CompilationGraph.h
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Error.h
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Main.h
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Main.inc
– Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Tool.h
– Installing: /usr/local/llvm-2.8/include/llvm/Config
– Installing: /usr/local/llvm-2.8/include/llvm/Config/AsmParsers.def.in
– Installing: /usr/local/llvm-2.8/include/llvm/Config/AsmPrinters.def.in
– Installing: /usr/local/llvm-2.8/include/llvm/Config/Disassemblers.def.in
– Installing: /usr/local/llvm-2.8/include/llvm/Config/Targets.def.in
– Installing: /usr/local/llvm-2.8/include/llvm/Config/config.h.cmake
– Installing: /usr/local/llvm-2.8/include/llvm/Config/config.h.in
– Installing: /usr/local/llvm-2.8/include/llvm/Config/llvm-config.h.cmake
– Installing: /usr/local/llvm-2.8/include/llvm/Config/llvm-config.h.in
– Installing: /usr/local/llvm-2.8/include/llvm/Constant.h
– Installing: /usr/local/llvm-2.8/include/llvm/Constants.h
– Installing: /usr/local/llvm-2.8/include/llvm/DerivedTypes.h
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine/ExecutionEngine.h
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine/GenericValue.h
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine/Interpreter.h
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine/JIT.h
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine/JITEventListener.h
– Installing: /usr/local/llvm-2.8/include/llvm/ExecutionEngine/JITMemoryManager.h
– Installing: /usr/local/llvm-2.8/include/llvm/Function.h
– Installing: /usr/local/llvm-2.8/include/llvm/GVMaterializer.h
– Installing: /usr/local/llvm-2.8/include/llvm/GlobalAlias.h
– Installing: /usr/local/llvm-2.8/include/llvm/GlobalValue.h
– Installing: /usr/local/llvm-2.8/include/llvm/GlobalVariable.h
– Installing: /usr/local/llvm-2.8/include/llvm/InlineAsm.h
– Installing: /usr/local/llvm-2.8/include/llvm/InstrTypes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Instruction.def
– Installing: /usr/local/llvm-2.8/include/llvm/Instruction.h
– Installing: /usr/local/llvm-2.8/include/llvm/Instructions.h
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicInst.h
– Installing: /usr/local/llvm-2.8/include/llvm/Intrinsics.h
– Installing: /usr/local/llvm-2.8/include/llvm/Intrinsics.td
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicsARM.td
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicsAlpha.td
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicsCellSPU.td
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicsPowerPC.td
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicsX86.td
– Installing: /usr/local/llvm-2.8/include/llvm/IntrinsicsXCore.td
– Installing: /usr/local/llvm-2.8/include/llvm/LLVMContext.h
– Installing: /usr/local/llvm-2.8/include/llvm/LinkAllPasses.h
– Installing: /usr/local/llvm-2.8/include/llvm/LinkAllVMCore.h
– Installing: /usr/local/llvm-2.8/include/llvm/Linker.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC
– Installing: /usr/local/llvm-2.8/include/llvm/MC/EDInstInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/ELFObjectWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCAsmInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCAsmInfoCOFF.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCAsmInfoDarwin.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCAsmLayout.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCAssembler.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCCodeEmitter.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCContext.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCDirectives.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCDisassembler.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCDwarf.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCELFSymbolFlags.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCExpr.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCFixup.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCInst.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCInstPrinter.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCLabel.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCMachOSymbolFlags.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCObjectStreamer.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCObjectWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser/AsmCond.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser/AsmLexer.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser/MCAsmLexer.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser/MCAsmParser.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser/MCAsmParserExtension.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCParser/MCParsedAsmOperand.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSection.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSectionCOFF.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSectionELF.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSectionMachO.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCStreamer.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSymbol.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MCValue.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/MachObjectWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/MC/SectionKind.h
– Installing: /usr/local/llvm-2.8/include/llvm/Metadata.h
– Installing: /usr/local/llvm-2.8/include/llvm/Module.h
– Installing: /usr/local/llvm-2.8/include/llvm/OperandTraits.h
– Installing: /usr/local/llvm-2.8/include/llvm/Operator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Pass.h
– Installing: /usr/local/llvm-2.8/include/llvm/PassAnalysisSupport.h
– Installing: /usr/local/llvm-2.8/include/llvm/PassManager.h
– Installing: /usr/local/llvm-2.8/include/llvm/PassManagers.h
– Installing: /usr/local/llvm-2.8/include/llvm/PassRegistry.h
– Installing: /usr/local/llvm-2.8/include/llvm/PassSupport.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support
– Installing: /usr/local/llvm-2.8/include/llvm/Support/AlignOf.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Allocator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/CFG.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/COFF.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/CallSite.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Casting.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/CommandLine.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Compiler.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/ConstantFolder.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/ConstantRange.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/CrashRecoveryContext.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/DOTGraphTraits.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/DataFlow.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Debug.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/DebugLoc.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Dwarf.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/DynamicLinker.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/ELF.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/ErrorHandling.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/FileUtilities.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Format.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/FormattedStream.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/GetElementPtrTypeIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/GraphWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/IRBuilder.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/IRReader.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/InstIterator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/InstVisitor.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/LeakDetector.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/MachO.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/ManagedStatic.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/MathExtras.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/MemoryBuffer.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/MemoryObject.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/MutexGuard.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/NoFolder.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/OutputBuffer.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/PassNameParser.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/PatternMatch.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/PluginLoader.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/PointerLikeTypeTraits.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/PredIteratorCache.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/PrettyStackTrace.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Recycler.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/RecyclingAllocator.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Regex.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Registry.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/RegistryParser.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/SMLoc.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/SourceMgr.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/StableBasicBlockNumbering.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/StandardPasses.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/StringPool.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/SystemUtils.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/TargetFolder.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/Timer.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/TypeBuilder.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/ValueHandle.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/circular_raw_ostream.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/raw_os_ostream.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/raw_ostream.h
– Installing: /usr/local/llvm-2.8/include/llvm/Support/type_traits.h
– Installing: /usr/local/llvm-2.8/include/llvm/SymbolTableListTraits.h
– Installing: /usr/local/llvm-2.8/include/llvm/System
– Installing: /usr/local/llvm-2.8/include/llvm/System/AIXDataTypesFix.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Alarm.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Atomic.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/DataTypes.h.cmake
– Installing: /usr/local/llvm-2.8/include/llvm/System/DataTypes.h.in
– Installing: /usr/local/llvm-2.8/include/llvm/System/Disassembler.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/DynamicLibrary.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Errno.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Host.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/IncludeFile.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/LICENSE.TXT
– Installing: /usr/local/llvm-2.8/include/llvm/System/Memory.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Mutex.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Path.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Process.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Program.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/RWMutex.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Signals.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Solaris.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/ThreadLocal.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Threading.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/TimeValue.h
– Installing: /usr/local/llvm-2.8/include/llvm/System/Valgrind.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target
– Installing: /usr/local/llvm-2.8/include/llvm/Target/Mangler.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/SubtargetFeature.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/Target.td
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetAsmBackend.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetAsmLexer.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetAsmParser.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetCallingConv.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetCallingConv.td
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetData.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetELFWriterInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetFrameInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetInstrDesc.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetInstrInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetInstrItineraries.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetIntrinsicInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetJITInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetLowering.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetLoweringObjectFile.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetMachine.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetOpcodes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetOptions.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetRegisterInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetRegistry.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetSchedule.td
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetSelect.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetSelectionDAG.td
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetSelectionDAGInfo.h
– Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetSubtarget.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/IPO
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/IPO/InlinerPass.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/IPO.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Instrumentation.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/RSProfiling.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Scalar.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/AddrModeMatcher.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/BasicBlockUtils.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/BasicInliner.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/BuildLibCalls.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/Cloning.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/FunctionUtils.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/Local.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/PromoteMemToReg.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/SSAUpdater.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/UnrollLoop.h
– Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Utils/ValueMapper.h
– Installing: /usr/local/llvm-2.8/include/llvm/Type.h
– Installing: /usr/local/llvm-2.8/include/llvm/TypeSymbolTable.h
– Installing: /usr/local/llvm-2.8/include/llvm/Use.h
– Installing: /usr/local/llvm-2.8/include/llvm/User.h
– Installing: /usr/local/llvm-2.8/include/llvm/Value.h
– Installing: /usr/local/llvm-2.8/include/llvm/ValueSymbolTable.h
– Installing: /usr/local/llvm-2.8/include/llvm-c
– Installing: /usr/local/llvm-2.8/include/llvm-c/Analysis.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/BitReader.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/BitWriter.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/Core.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/EnhancedDisassembly.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/ExecutionEngine.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/LinkTimeOptimizer.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/Target.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/Transforms
– Installing: /usr/local/llvm-2.8/include/llvm-c/Transforms/IPO.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/Transforms/Scalar.h
– Installing: /usr/local/llvm-2.8/include/llvm-c/lto.h
– Installing: /usr/local/llvm-2.8/include
– Installing: /usr/local/llvm-2.8/include/llvm
– Installing: /usr/local/llvm-2.8/include/llvm/Config
– Installing: /usr/local/llvm-2.8/include/llvm/Config/AsmParsers.def
– Installing: /usr/local/llvm-2.8/include/llvm/Config/AsmPrinters.def
– Installing: /usr/local/llvm-2.8/include/llvm/Config/Disassemblers.def
– Installing: /usr/local/llvm-2.8/include/llvm/Config/Targets.def
– Installing: /usr/local/llvm-2.8/include/llvm/Config/config.h
– Installing: /usr/local/llvm-2.8/include/llvm/Config/llvm-config.h
– Installing: /usr/local/llvm-2.8/include/llvm/Intrinsics.gen
– Installing: /usr/local/llvm-2.8/include/llvm/Makefile
– Installing: /usr/local/llvm-2.8/include/llvm/System
– Installing: /usr/local/llvm-2.8/include/llvm/System/DataTypes.h
– Installing: /usr/local/llvm-2.8/include/llvm/cmake_install.cmake
– Installing: /usr/local/llvm-2.8/lib/libLLVMSupport.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMSystem.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMCore.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMCodeGen.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMSelectionDAG.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMAsmPrinter.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMBitReader.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMBitWriter.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMTransformUtils.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMInstrumentation.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMInstCombine.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMScalarOpts.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMipo.a
– Installing: /usr/local/llvm-2.8/lib/LLVMHello.so
– Installing: /usr/local/llvm-2.8/lib/libLLVMLinker.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMAnalysis.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMipa.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMMC.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMMCParser.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMMCDisassembler.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMX86CodeGen.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMX86Info.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMX86AsmPrinter.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMX86AsmParser.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMX86Disassembler.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMExecutionEngine.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMInterpreter.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMJIT.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMTarget.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMAsmParser.a
– Installing: /usr/local/llvm-2.8/lib/libLLVMArchive.a
– Installing: /usr/local/llvm-2.8/bin/llvm-config
– Installing: /usr/local/llvm-2.8/bin/opt
– Installing: /usr/local/llvm-2.8/bin/llvm-as
– Installing: /usr/local/llvm-2.8/bin/llvm-dis
– Installing: /usr/local/llvm-2.8/bin/llvm-mc
– Installing: /usr/local/llvm-2.8/bin/llc
– Installing: /usr/local/llvm-2.8/bin/llvm-ranlib
– Installing: /usr/local/llvm-2.8/bin/llvm-ar
– Installing: /usr/local/llvm-2.8/bin/llvm-nm
– Installing: /usr/local/llvm-2.8/bin/llvm-ld
– Installing: /usr/local/llvm-2.8/bin/llvm-prof
– Installing: /usr/local/llvm-2.8/bin/llvm-link
– Installing: /usr/local/llvm-2.8/bin/lli
– Installing: /usr/local/llvm-2.8/bin/llvm-extract
– Installing: /usr/local/llvm-2.8/bin/llvm-diff
– Installing: /usr/local/llvm-2.8/bin/bugpoint
– Installing: /usr/local/llvm-2.8/lib/BugpointPasses.so
– Installing: /usr/local/llvm-2.8/bin/llvm-bcanalyzer
– Installing: /usr/local/llvm-2.8/bin/llvm-stub
– Installing: /usr/local/llvm-2.8/lib/libEnhancedDisassembly.a
– Installing: /usr/local/llvm-2.8/share/llvm/cmake/LLVM.cmake
– Installing: /usr/local/llvm-2.8/share/llvm/cmake/LLVMConfig.cmake
– Installing: /usr/local/llvm-2.8/share/llvm/cmake/LLVMLibDeps.cmake

Samuel Williams <space.ship.traveller@gmail.com> writes:

Sorry for the rapid fire replies, but this configuration works for me:

It "works" on the sense that it installs the headers, but removing the
FILES_MATCHING clause changes the semantics of the command: the
subsequent PATTERNs that controls which files are to be installesd
becomes ineffective.

install(DIRECTORY include/
  DESTINATION include
# FILES_MATCHING
  PATTERN "*.def"
  PATTERN "*.h"
  PATTERN "*.td"
  PATTERN "*.inc"
  PATTERN ".svn" EXCLUDE
  )

install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
  DESTINATION include
# FILES_MATCHING
  PATTERN "*.def"
  PATTERN "*.h"
  PATTERN "*.gen"
  PATTERN "*.inc"
  # Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def"
  PATTERN "CMakeFiles" EXCLUDE
  PATTERN ".svn" EXCLUDE
  )

It seems like there is either a bug with FILES_MATCHING or an issue
with the way it is being used.

It is clear that CMake is not behaving as it should in your
machine. Please file a bug report on the CMake bug tracker with the
necessary information for reproducing it (versions, commands for
building and installing LLVM starting from the "svn checkout", etc)

[snip]

Dear Óscar,

If you review the install log I sent, you will see that the patterns still appear to work as expected.

Despite that this may be a flaws in CMake, it may be prudent to see if it is possible to fix this for Mac OS X users? It may also affect other platforms?

According to the documentation: The FILES_MATCHING option may be given before the first match option to disable installation of files (but not directories) not matched by any expression. I’m not sure I understand exactly what this means, but it seems to appear that it it is superfluous? Previously, it states: A PATTERN will match only complete file names. So, the patterns only apply to files anyway, and not directories? I fail to see the point of FILES_MATCHING, but I may just be misinterpreting the documentation.

Kind regards,
Samuel

Samuel Williams <space.ship.traveller@gmail.com> writes:

If you review the install log I sent, you will see that the patterns
still appear to work as expected.

Nope. It ends installing too much files (*.td files, for instance)

Despite that this may be a flaws in CMake, it may be prudent to see if
it is possible to fix this for Mac OS X users? It may also affect
other platforms?

If it affected Mac OS X users, I would implement a workaround, but after
almost two years of existence of the CMake build you are the only one
reporting this problem. So you'll better follow the path hinted by Pau
Garcia i Quiles and check if there is a problem specific of your
setup. A good way of doing that is to open a bug report on the CMake
project.

According to the documentation: The FILES_MATCHING option may be given
before the first match option to disable installation of files (but
not directories) not matched by any expression. I'm not sure I
understand exactly what this means, but it seems to appear that it it
is superfluous? Previously, it states: A PATTERN will match only
complete file names. So, the patterns only apply to files anyway, and
not directories? I fail to see the point of FILES_MATCHING, but I may
just be misinterpreting the documentation.

You are reading the documentation incorrectly. FILES_MATCHING is
required for installing the files matching the patterns, and only
those. As said on my previous message, if you remove FILES_MATCHING the
PATTERNs are useless unless followed by some other clause, like EXCLUDE.