[LLVMbugs] [Bug 23792] New: cmake: Install clang resources into /usr/lib/clang (without LLVM_LIBDIR_SUFFIX)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 9 03:32:16 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23792

            Bug ID: 23792
           Summary: cmake: Install clang resources into /usr/lib/clang
                    (without LLVM_LIBDIR_SUFFIX)
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The clang resource dir (/usr/lib*/clang) contains two sets of files:

- headers (that are not arch-specific at all),

- compiler-rt libraries (that are suffixed for multiple arches).

Therefore, it makes no sense to respect LLVM_LIBDIR_SUFFIX and install
resources into /usr/lib64 or the like. In fact, it can cause QA warnings in
stricter environments as 32-bit libraries end up in lib64.

Please consider either dropping LLVM_LIBDIR_SUFFIX from clang resource &
compiler-rt installs, or making it configurable separately.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150609/972ae124/attachment.html>


More information about the llvm-bugs mailing list