Public bug reported:

Binary package hint: cmake

Using Ubuntu 11.04, trying to use CMake with ccache via 
export CC='ccache gcc'
export CXX='ccache g++'

results in a lot  (once per system check) of output  like below during
cmake run. It looks like ccache was invoked with wrong parameter . If I
use compiled cmake 2.8.4 from source , this does not happen.

Output
-- Check for working CXX compiler: /usr/bin/ccache
/usr/bin/ccache: invalid option -- 'd'
Usage:
    ccache [options]
    ccache compiler [compiler options]
    compiler [compiler options]          (via symbolic link)

Options:
    -c, --cleanup         delete old files and recalculate size counters
                          (normally not needed as this is done automatically)
    -C, --clear           clear the cache completely
    -F, --max-files=N     set maximum number of files in cache to N (use 0 for
                          no limit)
    -M, --max-size=SIZE   set maximum size of cache to SIZE (use 0 for no
                          limit; available suffixes: G, M and K; default
                          suffix: G)
    -s, --show-stats      show statistics summary
    -z, --zero-stats      zero statistics counters

    -h, --help            print this help text
    -V, --version         print version and copyright information

See also <http://ccache.samba.org>.
dpkg-architecture: warning: Couldn't determine gcc system type, falling back to 
default (native compilation)

** Affects: cmake (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/773062

Title:
  cmake does not work well with ccache

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to