Skip to content

Commit b131b06

Browse files
committed
feat(sdk): Add new apt-get dependency libgomp1 and update shasum checks for cm-emulator released artefacts.
1 parent c5bbd51 commit b131b06

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.changeset/plenty-chicken-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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.

packages/sdk/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ ARG DEBIAN_FRONTEND=noninteractive
148148
RUN <<EOF
149149
apt-get install -y --no-install-recommends \
150150
libslirp0 \
151+
libgomp1 \
151152
lua5.4
152153
rm -rf /var/lib/apt/lists/*
153154
EOF
@@ -170,8 +171,8 @@ RUN <<EOF
170171
curl -fsSL https://github.com/cartesi/machine-emulator/releases/download/v${CARTESI_MACHINE_EMULATOR_VERSION}/machine-emulator_${TARGETARCH}.deb \
171172
-o /tmp/machine-emulator.deb
172173
case "${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 ;;
176177
esac
177178
apt-get install -y --no-install-recommends /tmp/machine-emulator.deb

0 commit comments

Comments
 (0)