[libcxx-commits] [PATCH] D151056: [libcxx][libcxxabi][libunwind] Honor CMAKE_SYSROOT in tests

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 13 10:42:19 PDT 2023


ldionne added a comment.

I just did some digging and the reason for setting `-isysroot` manually in these config files is basically that CMake will resolve `clang++` to the result of `xcrun --find clang++` when it sets `CMAKE_CXX_COMPILER`: https://gitlab.kitware.com/cmake/cmake/-/issues/19180. Without this issue, we wouldn't be setting `-isysroot` manually at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151056



More information about the libcxx-commits mailing list