This is an automated email from the ASF dual-hosted git repository.
yuanzhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 4accc0f89d [GLUTEN-10903][VL] Build cudf always (#11691)
4accc0f89d is described below
commit 4accc0f89d5a81cfd6052f4bfce1533387bd6eae
Author: Jin Chengcheng <[email protected]>
AuthorDate: Wed Mar 4 00:37:00 2026 +0800
[GLUTEN-10903][VL] Build cudf always (#11691)
Because the base image apache/gluten:centos-9-jdk8-cudf is updated every
week while cudf maybe updated in place, so we need to build cudf every time to
avoid API compatibility.
Related issue: #10903
Fixes: #11693
---
cpp/velox/CMakeLists.txt | 1 +
ep/build-velox/src/build-velox.sh | 6 ------
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/cpp/velox/CMakeLists.txt b/cpp/velox/CMakeLists.txt
index eb0e11e04b..421765fdea 100644
--- a/cpp/velox/CMakeLists.txt
+++ b/cpp/velox/CMakeLists.txt
@@ -419,6 +419,7 @@ if(BUILD_EXAMPLES)
endif()
if(ENABLE_GPU)
+ set(cudf_DIR "${VELOX_BUILD_PATH}/_deps/cudf-build")
find_package(cudf CONFIG REQUIRED)
import_library(
diff --git a/ep/build-velox/src/build-velox.sh
b/ep/build-velox/src/build-velox.sh
index b4b31fa9e1..ac62f8fc27 100755
--- a/ep/build-velox/src/build-velox.sh
+++ b/ep/build-velox/src/build-velox.sh
@@ -173,12 +173,6 @@ function compile {
sudo cmake --install xsimd-build/
fi
fi
- if [ -d cudf-build ]; then
- echo "INSTALL cudf."
- if [ $OS == 'Linux' ]; then
- sudo cmake --install cudf-build/
- fi
- fi
if [ -d googletest-build ]; then
echo "INSTALL gtest."
if [ $OS == 'Linux' ]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]