[llvm-commits] [PATCH] a cmake patch to make install tree cmake-relocatable

hume npx humeafo at gmail.com
Thu Jul 12 19:05:10 PDT 2012


Hi,  Rafael:

Sorry, I am no cmake expert, so I am not sure what you mean by
> cmake-relocatable. Can you give an example of what you are trying to
> do and what this patch fixes?
>

This patch fix the following(these are described in the first letter):

1. make the installed LLVM package tree relocatable, see problem
http://llvm.org/bugs/show_bug.cgi?id=12157
2. correct the built but uninstalled llvm-cmake usage includes path and
directory path
3. make installed cmake find_package pattern usable without setting two
variables CMAKE_PREFIX_PATH and CMAKE_MODDULE_PATH, instead just need to
set CMAKE_PREFIX_PATH only.

as to what is relocatable, this means after you installed the package at
some place and later move the package to another place without
re-configure-re-install steps, the cmake scripts of llvm package is still
usable, just need to move it to another directory place using system
command such as mv etc, this make more sense  on windows for it's absence
of source-development package management and re-configure-install will
waste a long time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120713/862297bb/attachment.html>


More information about the llvm-commits mailing list