[Bug 1409363] Review Request: llvm3.9 - Versioned LLVM 3.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1409363



--- Comment #17 from Orion Poplawski <orion@xxxxxxxxxxxxx> ---
Here are the issues I've encountered trying to use llvm3.X, including building
clang3.X with llvm3.X:

- clang wants to find 'llvm-config', but currently this is
'llvm-config-%{_isa_bits}-3.X'.  I modified llvm3.7 to make llvm-config
available in %_libdir/%name/bin, so you can just add that to PATH.  This helps
with other tools as well.

- clang wants to find LLVMConfing.cmake in `llvm-config
--prefix`/share/llvm/cmake, but:

# llvm-config-64-3.9 --prefix
/usr

which makes it look in /usr/share/llvm/cmake, which is wrong.  While looking at
packaging clang3.X I've ended up installing into %_libdir/%name so that
--prefix can work.  See bug #1420512 for my current package.

Alternatively I can patch clang's CMakeLists.txt to work, and perhaps it's
worth working with clang upstream to find a solution.

- I'm a little concerned about the overlap with alternatives between the
various llvm packages.  In some ways it's nice to install any one and have
access to llvm-config, but the priority is all the same so it seems
indeterminate as to which becomes active.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]