fix compilation issue for newer versions of occlum

This commit is contained in:
Valentyn Faychuk 2025-01-21 22:45:31 +02:00
parent 1c4f9abd03
commit 17cb3342ad
Signed by: valy
GPG Key ID: F1AB995E20FEADC5

@ -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