[cfe-dev] is configure+make dead yet?
Seth Cantrell
seth.cantrell at gmail.com
Sat Jul 7 17:40:25 PDT 2012
On Jul 5, 2012, at 12:07 PM, Florian Weimer wrote:
> On 07/04/2012 06:16 PM, Seth Cantrell wrote:
>
>> Also, how does one 'install' clang with CMake? I see an install target
>> in the CMake generated Xcode project, but Xcode doesn't have privileges
>> necessary to run it. With make, after building you just do sudo make
>> install.
>
> CMake has DESTDIR support. You can install into a temporary tree where
> the user has write privileges and copy it to the final tree as root,
> adjusting permissions. I haven't tried this with LLVM yet, though.
I tried changing CMAKE_INSTALL_PREFIX but that didn't appear to change where the cmake generated xcode project actually tries to install the files.
>
> ("sudo make install" tends to leave root-owned files behind, so the
> DESTDIR approach is always preferable.)
I've never had a problem with that with 'make && sudo make install'
>
> --
> Florian Weimer / Red Hat Product Security Team
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list