Skip to content

Commit

Permalink
Fixes nightly CI error for Arm Linux wheels (#2963)
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed Jul 3, 2023
1 parent 69258d9 commit cb27df4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-graphscope-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
sudo -E -u runner make graphscope-py3-package GRAPHSCOPE_HOME=/opt/graphscope INSTALL_PREFIX=/home/graphscope/graphscope-install
# build client wheels
sudo -E -u runner make graphscope-client-py3-package GRAPHSCOPE_HOME=/opt/graphscope
sudo -E -u runner make graphscope-client-py3-package GRAPHSCOPE_HOME=/opt/graphscope INSTALL_PREFIX=/home/graphscope/graphscope-install
# package
cd ${GITHUB_WORKSPACE}
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
sudo -E -u runner make graphscope-py3-package GRAPHSCOPE_HOME=/opt/graphscope INSTALL_PREFIX=/home/graphscope/graphscope-install
# build client wheels
sudo -E -u runner make graphscope-client-py3-package GRAPHSCOPE_HOME=/opt/graphscope
sudo -E -u runner make graphscope-client-py3-package GRAPHSCOPE_HOME=/opt/graphscope INSTALL_PREFIX=/home/graphscope/graphscope-install
# package
cd ${GITHUB_WORKSPACE}
Expand Down
4 changes: 3 additions & 1 deletion k8s/internal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,12 @@ graphscope-manylinux2014-py3-nodocker:
sudo yum install java-11-openjdk-devel -y && \
sudo yum remove java-1.8.0-openjdk-devel java-1.8.0-openjdk java-1.8.0-openjdk-headless -y && \
cd $(WORKING_DIR)/../.. && \
if [[ "${ARCH}" == "aarch64" ]]; then python3 -m pip install grpcio==1.49.1 --no-binary grpcio; \
if [[ "${ARCH}" == "aarch64" ]]; then \
export AUDITWHEEL_PLAT=manylinux2014_${ARCH}; \
python3 -m pip install grpcio==1.49.1 --no-binary grpcio; \
python3 -m pip install grpcio-tools==1.49.1 --no-binary grpcio-tools; \
fi && \
sudo rm -rf ./learning_engine/graph-learn/graphlearn/built && \
for _ in {1..5}; do if $(MAKE_COMMAND); then succeed=1; break; else succeed=0; fi; done && \
if [[ $$succeed == 1 ]]; then echo "Build succeed"; else echo "Build failed"; exit 1; fi && \
for _ in {1..5}; do if $(MAKE_INSTALL_COMMAND); then succeed=1; break; else succeed=0; fi; done && \
Expand Down

0 comments on commit cb27df4

Please sign in to comment.