[llvm] r201921 - Use relative rpath so that the installation and build dirs are relocatable.

Tobias Grosser tobias at grosser.es
Fri Feb 21 17:33:32 PST 2014


On 02/22/2014 01:54 AM, Rafael Espindola wrote:
> Author: rafael
> Date: Fri Feb 21 18:54:14 2014
> New Revision: 201921
>
> URL: http://llvm.org/viewvc/llvm-project?rev=201921&view=rev
> Log:
> Use relative rpath so that the installation and build dirs are relocatable.
>
> This works by asking cmake to use the "install rpath", but setting that rpath
> to be relative.
>
> Thanks a lot to Brad King for the help with CMake!

Hi Raphael,

this one broke the polly build, because the libraries we are linking 
(libisl and libcloog) are not anymore in the rpath (and they are also 
not in the LD_LIBRARY_PATH). Is this change intended? Do you have an 
idea how to proceed? Is this a problem with your change, should I fix 
the Polly cmake or should we now always put such libraries into the 
LD_LIBRARY_PATH? (changing the buildbots may take a little).

Unfortunately I am about to head to bed, so I can not really investigate 
this right now.

Thanks,
Tobias



More information about the llvm-commits mailing list