From a853c8c6e8fbefa10eefdc843ea896a583e5f421 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 12 Jan 2026 11:20:47 -0600 Subject: [PATCH] build(cudf): Require GCC >= 13.3 for cuDF builds --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10e91757fb3..4679832b742 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -213,6 +213,11 @@ if(VELOX_ENABLE_BENCHMARKS_BASIC) endif() if(VELOX_ENABLE_CUDF) + if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") + message(FATAL_ERROR "cuDF requires GCC. Found ${CMAKE_CXX_COMPILER_ID}.") + elseif(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13.3) + message(FATAL_ERROR "cuDF requires GCC >= 13.3. Found GCC ${CMAKE_CXX_COMPILER_VERSION}.") + endif() message(STATUS "Building curl from source to satisfy cuDF curl version requirement") set(CURL_SOURCE BUNDLED) velox_resolve_dependency(CURL)