phosek added a comment.

The layout currently looks as follows:

  compiler-rt:
    headers: $prefix/lib/clang/$version/include
    libraries: $prefix/lib/clang/$version/$triple/lib/$name.$ext
  
  libc++, libc++abi, libunwind:
    headers: $prefix/include/c++/v1
    libraries: $prefix/lib/clang/$triple/$name.$ext

So if we take `x86_64-linux-gnu` as an example target, it'd be:

  include/c++/v1
  lib/clang/x86_64-linux-gnu/{libc++.so,libc++abi.so,libunwind.so}
  lib/clang/9.0.0/x86_64-linux-gnu/lib/libclang_rt.builtins.a

I'm not super enthusiastic about the duplicated triple, but the only way to 
eliminate it would be to move the Clang resource directory inside of 
`lib/clang/x86_64-linux-gnu`, i.e. we'd have 
`lib/clang/x86_64-linux-gnu/9.0.0/{include,lib}`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59168/new/

https://reviews.llvm.org/D59168



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to