From 5c6e4bff80ec4c1c013db7819b2f552dd4e83fac Mon Sep 17 00:00:00 2001 From: Sing_chan <51314274+betterpig@users.noreply.github.com> Date: Wed, 6 Apr 2022 15:48:23 +0800 Subject: [PATCH] fix bug of missing boost when compile cache.cc (#41430) --- paddle/phi/kernels/autotune/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/phi/kernels/autotune/CMakeLists.txt b/paddle/phi/kernels/autotune/CMakeLists.txt index db094d85bf..b933e0993d 100644 --- a/paddle/phi/kernels/autotune/CMakeLists.txt +++ b/paddle/phi/kernels/autotune/CMakeLists.txt @@ -6,6 +6,6 @@ elseif (WITH_ROCM) hip_test(auto_tune_test SRCS auto_tune_test.cu DEPS gtest) endif() -cc_library(cache SRCS cache.cc DEPS) +cc_library(cache SRCS cache.cc DEPS boost) cc_test(cache_test SRCS cache_test.cc DEPS gtest cache) -- GitLab