File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @cartesi/sdk " : patch
3+ ---
4+
5+ Add new apt-get dependency libgomp1 and update the shasum check for the emulator artefacts based on arch.
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ ARG DEBIAN_FRONTEND=noninteractive
148148RUN <<EOF
149149apt-get install -y --no-install-recommends \
150150 libslirp0 \
151+ libgomp1 \
151152 lua5.4
152153rm -rf /var/lib/apt/lists/*
153154EOF
@@ -170,8 +171,8 @@ RUN <<EOF
170171curl -fsSL https://github.com/cartesi/machine-emulator/releases/download/v${CARTESI_MACHINE_EMULATOR_VERSION}/machine-emulator_${TARGETARCH}.deb \
171172 -o /tmp/machine-emulator.deb
172173case "${TARGETARCH}" in
173- amd64) echo "adae6b030a8990e316997aad53d175192bfeaa84ad12ee19491366377073572b /tmp/machine-emulator.deb" | sha256sum --check ;;
174- arm64) echo "15ebb64d8cd3296564d2297dd809d1d72c13a938976bb4ecc5e5c82e71bb8069 /tmp/machine-emulator.deb" | sha256sum --check ;;
174+ amd64) echo "46b2f37b889091df3b89a8909467935f8dd4a1426eeb0491b6a346a12f0c341c /tmp/machine-emulator.deb" | sha256sum --check ;;
175+ arm64) echo "27ea10571335ad174b75388e7de54a3d3434bd607554d8c0bdf6abca47ceae0d /tmp/machine-emulator.deb" | sha256sum --check ;;
175176 *) echo "unsupported architecture: ${TARGETARCH}" ; exit 1 ;;
176177esac
177178apt-get install -y --no-install-recommends /tmp/machine-emulator.deb
You can’t perform that action at this time.
0 commit comments