On 6/27/23 04:00, Vitaly Zaitsev via devel wrote:
On 27/06/2023 03:19, Tom Stellard wrote:

We're trying to be more consistent with gcc and also upstream clang.
gcc installs some of these same libraries and some equivalent ones
into /usr/lib as well (/usr/lib/gcc/$TRIPLE/$MAJOR_VERSON).

What about FindLLVM.cmake and its ${LLVM_LIBDIR_SUFFIX}? Many projects use it 
now.


We set LLVM_LIBDIR_SUFFIX, but I don't think upstream ever meant for this 
variable
to affect the Resource Directory path, because the search code in clang assumes
that both 32-bit and 64-bit libraries would have set the same value for 
LLVM_LIBDIR_SUFFIX,
which is not correct.

For libraries like libLLVM.so and libclang.so which aren't internal compiler 
libraries
and are meant to be linked by applications extending LLVM and clang, we still 
install
these to /usr/lib64/ on 64-bit and /usr/lib on 32-bit.

-Tom
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to