From 17cb3342add2630a19916c55afdf45c89cbee521 Mon Sep 17 00:00:00 2001 From: Valentyn Faychuk Date: Tue, 21 Jan 2025 22:45:31 +0200 Subject: [PATCH] fix compilation issue for newer versions of occlum --- scripts/package.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/package.sh b/scripts/package.sh index 237f5d4..afeb8c9 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -7,17 +7,17 @@ cd "$script_dir/.." prerequisites=$1 if [ "$prerequisites" == "--prep" ]; then - echo "Preparing the packager environment" - apt update && apt install -y openssh-client - rustup install 1.83.0 - rustup install stable-x86_64-unknown-linux-gnu - rustup default stable - rustup target add x86_64-unknown-linux-musl - echo "Building the occlum fork" [ -d occlum ] || git clone https://gitea.detee.cloud/general/occlum.git (cd occlum && make submodule) (cd occlum/tools/toolchains/utils_lib && ./build.sh) + + echo "Preparing the packager environment" + apt update && apt install -y openssh-client + rustup install 1.84.0 + rustup install stable-x86_64-unknown-linux-gnu + rustup default stable + rustup target add x86_64-unknown-linux-musl fi if [ -n "$TEST" ]; then