[PATCH] D17734: [libcxx] PR26777 Fix tests when built with CXX="ccache clang++"

don hinton via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 17 12:03:41 PDT 2016


hintonda abandoned this revision.
hintonda added a comment.

If *_COMPILER_ARG1 is set, then it shall be the compiler, and the value for CMAKE_<LANG>_COMPILER may be ccache, but could also be something else, e.g., distcc, etc.  Therefore, I don't see a clean way to check it.

However, newer versions of cmake have abandoned the *_COMPILER_ARG1 solutions and set CMAKE_<LANG>_COMPILER to the real compiler and use a new variable, CMAKE_<LANG>_COMPILER_LAUNCHER for ccache, distcc, etc..

So the solution is just to upgrade to the newest version of cmake if you want to use ccache, etc...


http://reviews.llvm.org/D17734





More information about the cfe-commits mailing list