This is an automated email from the ASF dual-hosted git repository.
marong 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 7a92814b98 [GLUTEN-8611][VL] Set VELOX_GFLAGS_TYPE by checking
GLUTEN_VCPKG_ENABLED in build_velox.sh (#8612)
7a92814b98 is described below
commit 7a92814b980e873b5abfc709ee62a8e1dbdc7e73
Author: Rong Ma <[email protected]>
AuthorDate: Mon Jan 27 10:05:04 2025 +0000
[GLUTEN-8611][VL] Set VELOX_GFLAGS_TYPE by checking GLUTEN_VCPKG_ENABLED in
build_velox.sh (#8612)
---
ep/build-velox/src/build_velox.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/ep/build-velox/src/build_velox.sh
b/ep/build-velox/src/build_velox.sh
index b1c2a860d8..9bcef17ae6 100755
--- a/ep/build-velox/src/build_velox.sh
+++ b/ep/build-velox/src/build_velox.sh
@@ -16,6 +16,8 @@
set -exu
# New build option may need to be included in get_build_summary to ensure EP
build cache workable.
+# Path to the Velox source code.
+VELOX_HOME=""
# Enable S3 connector.
ENABLE_S3=OFF
# Enable GCS connector.
@@ -24,15 +26,17 @@ ENABLE_GCS=OFF
ENABLE_HDFS=OFF
# Enable ABFS connector.
ENABLE_ABFS=OFF
+# CMake build type for Velox.
BUILD_TYPE=release
-VELOX_HOME=""
# May be deprecated in Gluten build.
ENABLE_BENCHMARK=OFF
# May be deprecated in Gluten build.
ENABLE_TESTS=OFF
# Set to ON for gluten cpp test build.
BUILD_TEST_UTILS=OFF
+# Number of threads to use for building.
NUM_THREADS=""
+
OTHER_ARGUMENTS=""
OS=`uname -s`
@@ -117,6 +121,9 @@ function compile {
echo "ENABLE_BENCHMARK is ON. Disabling Tests, GCS and ABFS connectors if
enabled."
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_BENCHMARKS=ON"
fi
+ if [ -n "${GLUTEN_VCPKG_ENABLED:-}" ]; then
+ COMPILE_OPTION="$COMPILE_OPTION -DVELOX_GFLAGS_TYPE=static"
+ fi
COMPILE_OPTION="$COMPILE_OPTION -DCMAKE_BUILD_TYPE=${BUILD_TYPE}"
COMPILE_TYPE=$(if [[ "$BUILD_TYPE" == "debug" ]] || [[ "$BUILD_TYPE" ==
"Debug" ]]; then echo 'debug'; else echo 'release'; fi)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]