boost-cmake / boost

Cmake-based build of boost
Boost Software License 1.0
58 stars 24 forks source link

CCache + Cmake build fail #12

Open dongjiang1989 opened 6 years ago

dongjiang1989 commented 6 years ago

[build@shapdis00001 context]$ make [ 0%] Built target boost_system [ 0%] Built target boost_atomic [ 0%] Built target boost_chrono [ 0%] Built target boost_container [ 0%] Built target boost_exception [100%] Built target boost_regex [100%] Built target boost_filesystem [100%] Built target boost_random [100%] Built target boost_iostreams [100%] Built target boost_thread [100%] Built target boost_serialization [100%] Built target boost_locale [100%] Built target boost_date_time [100%] Building ASM object libs/context/CMakeFiles/boost_context.dir/src/asm/make_x86_64_sysv_elf_gas.S.o /usr1/build/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 (except configuration) -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: k, M, G, T (decimal) and Ki, Mi, Gi, Ti (binary); default suffix: G -o, --set-config=K=V set configuration key K to value V -p, --print-config print current configuration options -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 https://ccache.samba.org. make[2]: [libs/context/CMakeFiles/boost_context.dir/src/asm/make_x86_64_sysv_elf_gas.S.o] Error 1 make[1]: [libs/context/CMakeFiles/boost_context.dir/all] Error 2 make: *** [all] Error 2