<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">Hi, </span> Rafael:</div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry, I am no cmake expert, so I am not sure what you mean by<br>
cmake-relocatable. Can you give an example of what you are trying to<br>
do and what this patch fixes?<br></blockquote><br></div><div>This patch fix the following(these are described in the first letter):</div><div><br></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">1. make the installed LLVM package tree relocatable, see problem </span><a href="http://llvm.org/bugs/show_bug.cgi?id=12157" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">http://llvm.org/bugs/show_bug.cgi?id=12157</a><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
2. correct the built but uninstalled llvm-cmake usage includes path and directory path</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">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.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
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.</div>