From 0261285bc50254c08cda0c1227d6c5ca9727c2b8 Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Fri, 20 Dec 2024 23:07:23 +0100 Subject: [PATCH] misc(backend): let's actually cache things now --- backends/trtllm/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/backends/trtllm/CMakeLists.txt b/backends/trtllm/CMakeLists.txt index caed22c6f36..412be87d920 100644 --- a/backends/trtllm/CMakeLists.txt +++ b/backends/trtllm/CMakeLists.txt @@ -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")