Skip to content

Commit

Permalink
bump up rustup toolchain version to 1.81.0 to avoid compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
BingqingLyu committed Dec 18, 2024
1 parent bbe9295 commit a58210e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion k8s/dockerfiles/graphscope-store.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY --chown=graphscope:graphscope . /home/graphscope/graphscope
COPY --chown=graphscope:graphscope ./interactive_engine/assembly/src/conf/maven.settings.xml /home/graphscope/.m2/settings.xml

USER graphscope
RUN rustup toolchain install 1.76.0 && rustup default 1.76.0
RUN rustup toolchain install 1.81.0 && rustup default 1.81.0

RUN cd /home/graphscope/graphscope \
&& . ~/.graphscope_env \
Expand Down
2 changes: 1 addition & 1 deletion k8s/dockerfiles/interactive.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN cd /home/graphscope/GraphScope/ && \
else \
mkdir /home/graphscope/install; \
. /home/graphscope/.graphscope_env; \
rustup toolchain install 1.76.0 && rustup default 1.76.0; \
rustup toolchain install 1.81.0 && rustup default 1.81.0; \
make interactive-install BUILD_TYPE="$profile" INSTALL_PREFIX=/home/graphscope/install; \
fi

Expand Down
2 changes: 1 addition & 1 deletion k8s/internal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ graphscope-manylinux2014-py3-nodocker:
sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
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 && \
rustup toolchain install 1.76.0 && rustup default 1.76.0 && \
rustup toolchain install 1.81.0 && rustup default 1.81.0 && \
cd $(WORKING_DIR)/../.. && \
if [[ "${PLATFORM}" == "aarch64" ]]; then \
export AUDITWHEEL_PLAT=manylinux2014_${PLATFORM}; \
Expand Down
4 changes: 2 additions & 2 deletions python/graphscope/gsctl/scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,8 @@ install_interactive_dependencies() {
if ! command -v rustup &>/dev/null; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
rustup install 1.76.0
rustup default 1.76.0
rustup install 1.81.0
rustup default 1.81.0
rustc --version
fi
# opentelemetry
Expand Down

0 comments on commit a58210e

Please sign in to comment.