Skip to content

Commit

Permalink
Bump snax version in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JosseVanDelm committed Nov 10, 2023
1 parent 01b3bb3 commit 6087d6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
build-args: |-
CONFIG=target/snitch_cluster/cfg/snax-mac.hjson
SNITCH_LLVM_VERSION=latest
3 changes: 2 additions & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM ghcr.io/pulp-platform/snitch_cluster:latest@sha256:aa0d9a25022d1ef51f451dc6

RUN git clone https://github.com/kuleuven-micas/snitch_cluster.git /src \
&& cd /src \
&& git reset --hard 49adab2090275f5c8dee2b73060f673bff37767b \
&& git reset --hard 56a9660c97dc7424062534a68af8b26a0844fef3 \
&& git submodule update --init \
# verilator model
&& make CFG_OVERRIDE=$config -C target/snitch_cluster bin/snitch_cluster.vlt -j$(nproc)
Expand Down Expand Up @@ -55,6 +55,7 @@ COPY --from=builder /src/util/trace /opt/snitch_cluster/util/trace
COPY --from=builder /src/sw/snRuntime /opt/snitch_cluster/sw/snRuntime
COPY --from=builder /src/target/snitch_cluster/sw/runtime/rtl /opt/snitch_cluster/target/snitch_cluster/sw/runtime/rtl
COPY --from=builder /src/target/snitch_cluster/sw/runtime/common /opt/snitch_cluster/target/snitch_cluster/sw/runtime/common
COPY --from=builder /src/target/snitch_cluster/sw/snax/ /opt/snitch_cluster/target/snitch_cluster/sw/snax
COPY --from=builder /src/sw/math/ /opt/snitch_cluster/sw/math/
# Transitive deps, this stuff must go at some point
COPY --from=builder /src/sw/deps/riscv-opcodes /opt/snitch_cluster/sw/deps/riscv-opcodes
Expand Down

0 comments on commit 6087d6f

Please sign in to comment.