[cmake-2.8.11] darwin executables not linked with @rpath

David Fang fang at csl.cornell.edu
Fri Mar 7 15:06:31 PST 2014


Hi,
 	When building llvm with cmake+shared on darwin11, using cmake 
2.8.11.2, I was not getting properly linked executables.
(Just plain: cmake ../llvm.git -DBUILD_SHARED_LIBS=ON )

http://paste.lisp.org/display/141541

Basically, LC_RPATH was missing, so llvm-tblgen failed to load the dylibs.

Rafael suggested I try cmake 2.8.12, and that worked.

Is this just a bug in 2.8.11? or was there a different way of doing 
things?  Do we already have 2.8.12 as a minimum version of cmake?

David


-- 
David Fang
http://www.csl.cornell.edu/~fang/




More information about the llvm-commits mailing list