Skip to content

Commit

Permalink
[VL] gluten-te: In dockerfiles, use symbolic link for /opt/velox (#3946)
Browse files Browse the repository at this point in the history
In case of debugging in the docker. libvelox.so will find symbol sources in /opt/gluten/ep/build-velox/build/velox_ep so we'd preserve the directory.
  • Loading branch information
zhztheplayer authored Dec 7, 2023
1 parent 7e51213 commit 733dca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/gluten-te/centos/dockerfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ RUN EXTRA_MAVEN_OPTIONS=$(cat ~/.gluten-mvn-options) \
&& cd /opt/gluten \
&& bash -c "$DEPS_INSTALL_SCRIPT" \
&& bash -c "mvn clean install $GLUTEN_MAVEN_OPTIONS $EXTRA_MAVEN_OPTIONS" \
&& bash -c "mv ep/build-velox/build/velox_ep /opt/velox"
&& bash -c "ln -sf ep/build-velox/build/velox_ep /opt/velox"

# EOF
2 changes: 1 addition & 1 deletion tools/gluten-te/ubuntu/dockerfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ RUN EXTRA_MAVEN_OPTIONS=$(cat ~/.gluten-mvn-options) \
&& cd /opt/gluten \
&& bash -c "$DEPS_INSTALL_SCRIPT" \
&& bash -c "mvn clean install $GLUTEN_MAVEN_OPTIONS $EXTRA_MAVEN_OPTIONS" \
&& bash -c "mv ep/build-velox/build/velox_ep /opt/velox"
&& bash -c "ln -sf ep/build-velox/build/velox_ep /opt/velox"

# EOF

0 comments on commit 733dca9

Please sign in to comment.