[libcxx-commits] [PATCH] D137110: [libc++] Option to specify a different compiler for testing

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 8 15:16:45 PST 2022


philnik added a comment.

In D137110#3899667 <https://reviews.llvm.org/D137110#3899667>, @hubert.reinterpretcast wrote:

> In D137110#3899449 <https://reviews.llvm.org/D137110#3899449>, @ldionne wrote:
>
>> But first, I'd like to understand why you're not setting `CMAKE_CXX_COMPILER` to the compiler you're trying to run the tests with?
>
> Is my understanding correct that changing `CMAKE_CXX_COMPILER` also changes the build compiler for the shared libraries?
> The intention is to build using a "stable" compiler, but still allow testing with a compiler under development.

Why can't you compile the library with the experimental compiler? If it can't properly compile that, it surely can't run the test suite.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137110



More information about the libcxx-commits mailing list