Skip to content

Commit

Permalink
fix(interactive): Use static arrow when building interactive image (#…
Browse files Browse the repository at this point in the history
…4432)

In #4419, Interactive is changed to link to dynamic arrow lib but forgot
to change the image building, where we need a static library for arrow.
  • Loading branch information
zhanglei1949 authored Jan 17, 2025
1 parent a60e912 commit 76097db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/flex-interactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- main
paths:
- 'k8s/**'
- 'flex/**'
- 'coordinator/gscoordinator/flex/**'
- 'python/graphscope/gsctl/**'
Expand All @@ -16,6 +17,7 @@ on:
branches:
- main
paths:
- 'k8s/**'
- 'flex/**'
- 'coordinator/gscoordinator/flex/**'
- 'python/graphscope/gsctl/**'
Expand Down
2 changes: 1 addition & 1 deletion k8s/dockerfiles/flex-interactive.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY --chown=graphscope:graphscope . /home/graphscope/GraphScope

# install flex
RUN . ${HOME}/.cargo/env && cd ${HOME}/GraphScope/flex && \
git submodule update --init && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/flex -DBUILD_DOC=OFF -DBUILD_TEST=OFF -DOPTIMIZE_FOR_HOST=${OPTIMIZE_FOR_HOST} && make -j ${PARALLEL} && make install && \
git submodule update --init && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/opt/flex -DBUILD_DOC=OFF -DBUILD_TEST=OFF -DOPTIMIZE_FOR_HOST=${OPTIMIZE_FOR_HOST} -DUSE_STATIC_ARROW=ON && make -j ${PARALLEL} && make install && \
cd ~/GraphScope/interactive_engine/ && mvn clean package -Pexperimental -DskipTests && \
cd ~/GraphScope/interactive_engine/compiler && cp target/compiler-0.0.1-SNAPSHOT.jar /opt/flex/lib/ && \
cp target/libs/*.jar /opt/flex/lib/ && \
Expand Down

0 comments on commit 76097db

Please sign in to comment.