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 737fe880a6 [VL] Fix clang does not support stringop-overflow flag 
(#10136)
737fe880a6 is described below

commit 737fe880a6d1e687fdc37aad795a9d26c1c55d0d
Author: Mingliang Zhu <[email protected]>
AuthorDate: Wed Jul 9 04:03:19 2025 +0800

    [VL] Fix clang does not support stringop-overflow flag (#10136)
    
    Clang does not support stringop-overflow flag.
    error: unknown warning option '-Werror=stringop-overflow'; did you mean 
'-Werror=shift-overflow'? [-Werror,-Wunknown-warning-option]
---
 ep/build-velox/src/build_velox.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ep/build-velox/src/build_velox.sh 
b/ep/build-velox/src/build_velox.sh
index 08eec04bdc..e83b2cdda8 100755
--- a/ep/build-velox/src/build_velox.sh
+++ b/ep/build-velox/src/build_velox.sh
@@ -101,7 +101,7 @@ function compile {
   # Maybe there is some set option in velox setup script. Run set command 
again.
   set -exu
 
-  CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp 
-Wno-missing-field-initializers'
+  CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp 
-Wno-missing-field-initializers -Wno-unknown-warning-option'
   COMPILE_OPTION="-DCMAKE_CXX_FLAGS=\"$CXX_FLAGS\" -DVELOX_ENABLE_PARQUET=ON 
-DVELOX_BUILD_TESTING=OFF -DVELOX_MONO_LIBRARY=ON -DVELOX_BUILD_RUNNER=OFF 
-DVELOX_SIMDJSON_SKIPUTF8VALIDATION=ON -DVELOX_ENABLE_GEO=ON"
   if [ $BUILD_TEST_UTILS == "ON" ]; then
     COMPILE_OPTION="$COMPILE_OPTION -DVELOX_BUILD_TEST_UTILS=ON"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to