From 2cb55eff57376ca8e07cbce3918c5d38ff9a0817 Mon Sep 17 00:00:00 2001 From: liuyuhui Date: Wed, 3 Feb 2021 13:57:11 +0800 Subject: [PATCH] fix WITH_XPU_BKCL in CMakeLists.txt (#30854) --- paddle/fluid/operators/collective/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/collective/CMakeLists.txt b/paddle/fluid/operators/collective/CMakeLists.txt index 2e9d1909a6..fb0fa629cd 100644 --- a/paddle/fluid/operators/collective/CMakeLists.txt +++ b/paddle/fluid/operators/collective/CMakeLists.txt @@ -19,7 +19,7 @@ if(WITH_NCCL) op_library(gen_nccl_id_op DEPS ${COLLECTIVE_DEPS}) endif() -if(WITH_BKCL) +if(WITH_XPU_BKCL) set(COLLECTIVE_DEPS ${COLLECTIVE_DEPS} collective_helper) endif() -- GitLab