From 398ef3562bf697bbac3a171be9d31012a1b15e05 Mon Sep 17 00:00:00 2001 From: Kunshang Ji Date: Thu, 13 Apr 2023 09:48:07 +0800 Subject: [PATCH] fix build --- ci/scripts/integrate-presto-bdtk.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/scripts/integrate-presto-bdtk.sh b/ci/scripts/integrate-presto-bdtk.sh index b0984febc..fb8f842bb 100755 --- a/ci/scripts/integrate-presto-bdtk.sh +++ b/ci/scripts/integrate-presto-bdtk.sh @@ -50,6 +50,8 @@ cp ${WORKER_DIR}/BDTK/build-${VELOX_PLUGIN_MODE}/cpp/src/cider/function/libcider cp ${WORKER_DIR}/BDTK/build-${VELOX_PLUGIN_MODE}/cpp/src/cider/function/libcider_runtime_function.so ${WORKER_DIR}/presto_cpp/main/lib cp ${WORKER_DIR}/BDTK/build-${VELOX_PLUGIN_MODE}/cpp/libcider_static.a ${WORKER_DIR}/presto_cpp/main/lib cp ${WORKER_DIR}/BDTK/build-${VELOX_PLUGIN_MODE}/cpp/libcider_velox_static.a ${WORKER_DIR}/presto_cpp/main/lib +# copy libvelox_functions_spark to lib dir. Due to presto cpp build velox will set conf VELOX_ENABLE_SPARK_FUNCTIONS to OFF +cp ${WORKER_DIR}/BDTK/build-${VELOX_PLUGIN_MODE}/thirdparty/velox/velox/functions/sparksql/libvelox_functions_spark.a ${WORKER_DIR}/presto_cpp/main/lib make -j ${CPU_COUNT:-`nproc`} PRESTO_ENABLE_PARQUET=ON ${PRESTO_CPP_MODE}