Skip to content

Commit

Permalink
fix bug of missing boost when compile cache.cc (#41449)
Browse files Browse the repository at this point in the history
【chery-pick #41430】fix bug of random compile failure, due to incorrect compile order of dependencies
  • Loading branch information
betterpig committed Apr 7, 2022
1 parent 7f502b7 commit e34042a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/phi/kernels/autotune/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e34042a

Please sign in to comment.