[blfs-book] [BLFS Trac] #7528: llvm-3.8.0

BLFS Trac trac at linuxfromscratch.org
Thu Mar 10 12:41:31 PST 2016


#7528: llvm-3.8.0
-------------------------+------------------------------
 Reporter:  bdubbs@…     |       Owner:  pierre.labastie
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  7.10
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by pierre.labastie):

 This is going to take some time, as I am trying to have cmake do the same
 thing as configure before. And I have not yet found the equivalent of
 --sysconfdir, for example. I think:
 - ''--prefix=/usr'' is translated to ''-DCMAKE_INSTALL_PREFIX=/usr''
 (that's the easy one ;-)
 - ''--enable-libffi'' becomes ''-DLLVM_ENABLE_FFI=ON''
 - ''--enable-optimized'' + ''--disable-assertions'' becomes
 ''-DCMAKE_BUILD_TYPE=Release''
 - ''--enable-shared'' becomes ''-DBUILD_SHARED_LIBS=ON'' (not sure yet)
 - ''--enable-targets=host,r600'' becomes
 ''-DLLVM_TARGETS_TO_BUILD="host;AMDGPU"'' (to be tested)

 but I still need to find the equivalent of ''--docdir'' and ''--
 sysconfdir''

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/7528#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch


More information about the blfs-book mailing list