Skip to content

Commit 9963403

Browse files
authored
[VL] Fix docker build (#11608)
* [VL] Fix docker build due to recent changes on resource installation Signed-off-by: Yuan <yuanzhou@apache.org>
1 parent 3934523 commit 9963403

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

dev/docker/Dockerfile.centos8-dynamic-build

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ RUN set -ex; \
3838
wget -nv ${mirror_host}/hadoop/common/hadoop-2.8.5/hadoop-2.8.5.tar.gz?action=download -O /opt/hadoop-2.8.5.tar.gz; \
3939
git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten; \
4040
cd /opt/gluten/.github/workflows/util/; \
41-
./install-spark-resources.sh 3.3; \
42-
./install-spark-resources.sh 3.4; \
43-
./install-spark-resources.sh 3.5; \
44-
./install-spark-resources.sh 3.5-scala2.13; \
45-
./install-spark-resources.sh 4.0; \
41+
./install-resources.sh 3.3; \
42+
./install-resources.sh 3.4; \
43+
./install-resources.sh 3.5; \
44+
./install-resources.sh 3.5-scala2.13; \
45+
./install-resources.sh 4.0; \
4646
if [ "$(uname -m)" = "aarch64" ]; then \
4747
export CPU_TARGET="aarch64"; \
4848
fi; \

dev/docker/Dockerfile.centos9-dynamic-build

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ RUN set -ex; \
3636
wget -nv ${mirror_host}/hadoop/common/hadoop-2.8.5/hadoop-2.8.5.tar.gz?action=download -O /opt/hadoop-2.8.5.tar.gz; \
3737
git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten; \
3838
cd /opt/gluten/.github/workflows/util/; \
39-
./install-spark-resources.sh 3.3; \
40-
./install-spark-resources.sh 3.4; \
41-
./install-spark-resources.sh 3.5; \
42-
./install-spark-resources.sh 3.5-scala2.13; \
43-
./install-spark-resources.sh 4.0; \
39+
./install-resources.sh 3.3; \
40+
./install-resources.sh 3.4; \
41+
./install-resources.sh 3.5; \
42+
./install-resources.sh 3.5-scala2.13; \
43+
./install-resources.sh 4.0; \
4444
if [ "$(uname -m)" = "aarch64" ]; then \
4545
export CPU_TARGET="aarch64"; \
4646
fi; \

ep/build-velox/src/build-velox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function compile {
102102
# maintain compatibility, but it prints a diagnostic note about the unknown flag if a true warning
103103
# or error occurs.
104104
CXX_FLAGS='-Wno-error=stringop-overflow -Wno-error=cpp -Wno-missing-field-initializers \
105-
-Wno-error=uninitialized -Wno-unknown-warning-option'
105+
-Wno-error=uninitialized -Wno-unknown-warning-option -Wno-deprecated-declarations'
106106

107107
COMPILE_OPTION="-DCMAKE_CXX_FLAGS=\"$CXX_FLAGS\" -DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=OFF \
108108
-DVELOX_MONO_LIBRARY=ON -DVELOX_BUILD_RUNNER=OFF -DVELOX_SIMDJSON_SKIPUTF8VALIDATION=ON \

0 commit comments

Comments
 (0)