[llvm-bugs] [Bug 26777] check-libcxx fails when built with CXX="ccache clang++"

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 17 19:59:11 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=26777

Don Hinton <hintonda at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Don Hinton <hintonda at gmail.com> ---
Newer versions of cmake (>=3.4) have new variables you can pass to take care of
this.  So, instead of setting CC and CXX to include ccache, you can pass it to
CMAKE_<LANG>_COMPILER_LAUNCHER, e.g.:

-DMAKE_C_COMPILER_LAUNCHER=ccache
-DMAKE_CXX_COMPILER_LAUNCHER=ccache

It's a big chatty, but it'll allow you to use ccache with libcxx[abi] and run
the tests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160418/575d26bd/attachment.html>


More information about the llvm-bugs mailing list