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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to