File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,6 @@ if(ITK_USE_CCACHE)
4242 message (STATUS "ccache version: ${CCACHE_VERSION} at ${CCACHE_EXECUTABLE} " )
4343 set (CMAKE_C_COMPILER_LAUNCHER "${CCACHE_EXECUTABLE} " )
4444 set (CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_EXECUTABLE} " )
45- # ccache hashes absolute source and include paths into the cache key.
46- # ITK developers utilizing ccache often will be using git worktrees
47- # where the absolute paths differ, producing cache misses.
48- # By setting CCACHE_BASEDIR, increased cache hits occur based on
49- # hits relative to the ITK_SOURCE_DIR.
50- # Export CCACHE_BASEDIR for all build commands to the base of the
51- set (ENV{CCACHE_BASEDIR} "${ITK_SOURCE_DIR } " )
52- message (STATUS "Set CCACHE_BASEDIR = $ENV{CCACHE_BASEDIR} " )
5345 else ()
5446 message (FATAL_ERROR "ccache not found, turn off ITK_USE_CCACHE" )
5547 endif ()
You can’t perform that action at this time.
0 commit comments