Skip to content

Commit

Permalink
misc(backend): let's actually cache things now
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuntowicz committed Dec 20, 2024
1 parent 6790cd6 commit 0261285
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions backends/trtllm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ if (NOT DEFINED CMAKE_CXX_COMPILER_LAUNCHER)
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
endif ()
else ()
find_program(CCACHE_EXECUTABLE ${CMAKE_CXX_COMPILER_LAUNCHER})
message(STATUS "Using user specified cmake cxx compiler launcher: ${CMAKE_CXX_COMPILER_LAUNCHER}")
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
set(CMAKE_C_COMPILER_LAUNCHER ${CMAKE_CXX_COMPILER_LAUNCHER})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CMAKE_CXX_COMPILER_LAUNCHER})
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CMAKE_CXX_COMPILER_LAUNCHER})
endif ()

if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
Expand Down

0 comments on commit 0261285

Please sign in to comment.