[libcxx-commits] [PATCH] D69169: [libcxx] Force-cache LIBCXX_CXX_ABI_LIBRARY_PATH

Michał Górny via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 10 10:37:14 PST 2020


mgorny added a comment.

Gentoo, using the ebuilds. I think the most relevant is how libc++abi is configured:

  cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLIBCXXABI_LIBDIR_SUFFIX=64 -DLIBCXXABI_ENABLE_SHARED=ON -DLIBCXXABI_ENABLE_STATIC=yes -DLIBCXXABI_USE_LLVM_UNWINDER=yes -DLIBCXXABI_INCLUDE_TESTS=no -DLIBCXXABI_USE_COMPILER_RT=OFF -DLIBCXXABI_LIBCXX_INCLUDES=<path-to-tree>/libcxx/include -DLIBCXXABI_LIBUNWIND_INCLUDES=/usr/include -DCMAKE_BUILD_TYPE=RelWithDebInfo <path>

After normal `ninja install`, we additionally copy headers (contents of `include` directory) to `/usr/include/libcxxabi`, i.e.:

  $ tree /usr/include/libcxxabi/
  /usr/include/libcxxabi/
  ├── __cxxabi_config.h
  └── cxxabi.h
  
  0 directories, 2 files


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69169





More information about the libcxx-commits mailing list