[PATCH] D59168: [runtimes] Move libunwind, libc++abi and libc++ to lib/clang/ and include/

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 17:15:28 PST 2019


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





More information about the cfe-commits mailing list