ceph: disable ccache

When enable ccache for ceph, error occurs:
-----------------------------------------------------
    ccache: invalid option -- 'E'
    ...
    Unable to determine C++ standard library, got .
-----------------------------------------------------
This is because variable "CXX_STDLIB" was null in CMakeLists.txt line: 637,
The "CXX_STDLIB" come from:
-----------------------------------------------------
    execute_process(
      COMMAND ./librarytest.sh ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS}
      WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
      OUTPUT_VARIABLE CXX_STDLIB
      )
-----------------------------------------------------
The script librarytest.sh in ceph accept argument: compile and flags, but when
enable ccache, the compile replace by ccache, so that script failed.

So we disable ccache for ceph now.

Signed-off-by: Dengke Du <dengke.du@windriver.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Dengke Du 2019-02-14 11:36:20 +08:00 committed by Bruce Ashfield
parent 72a920412f
commit b513fda519

View File

@ -101,3 +101,4 @@ PACKAGES += " \
" "
INSANE_SKIP_${PN}-python += "ldflags" INSANE_SKIP_${PN}-python += "ldflags"
INSANE_SKIP_${PN} += "dev-so" INSANE_SKIP_${PN} += "dev-so"
CCACHE_DISABLE = "1"