]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: don't pass ccache argument to RocksDB build
authorSheng Mao <shngmao@gmail.com>
Wed, 10 Feb 2021 03:14:58 +0000 (20:14 -0700)
committerSheng Mao <shngmao@gmail.com>
Wed, 10 Feb 2021 03:17:53 +0000 (20:17 -0700)
commit59a5f333fa3c3e9ef3a9c9d3fded43d23cfce911
tree186ec4bc5cba0ea38c968d1d5330b232a459e32e
parent718af4faaf47c416544f872d2932fce52e60549b
cmake: don't pass ccache argument to RocksDB build

RocksDB's cmake has a similar logic to turn on ccache as the main cmake.
Currently BuildRocksDB.cmake explicitly passes ccache to RocksDB cmake
arguments as CMAKE_CXX_COMPILER_LAUNCHER. This causes a compilation error
on ccache 4.0, especially in make -j mode.

ccache: error: Recursive invocation (the name of the ccache binary must
be "ccache")

This commit lets cmake from RocksDB decide RULE_LAUNCH_COMPILE by itself.

Signed-off-by: Sheng Mao <shngmao@gmail.com>
cmake/modules/BuildRocksDB.cmake