Skip to content

Commit

Permalink
Merge branch 'yosys_update' into 'master'
Browse files Browse the repository at this point in the history
Update yosys version in Dockerfile to 0.23

That matches Debian Bookworm
Also remove a stray yosys apt-get in .gitlab/ci/oscope.gitlab-ci.yml
  • Loading branch information
lerwys committed Oct 30, 2023
2 parents 87806ba + c78b438 commit 2d00c79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitlab/ci/oscope.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ oscope_top_bmb7:

oscope_top_marble:
before_script:
- cd projects/oscope/marble_family && ls /non-free && apt-get update && apt-get install -y yosys
- cd projects/oscope/marble_family && ls /non-free
stage: synthesis
script:
- verilator -V && XILINX_VIVADO=$XILINX_VIVADO PATH=$XILINX_VIVADO/bin:$PATH make oscope_top.bit
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ RUN git clone https://github.com/ldoolitt/vhd2vl && \
# Yosys
# For now we need to build yosys from source, since Debian Bullseye
# is stuck at yosys-0.9 that doesn't have the features we need.
# Revisit this choice when Debian catches up, maybe in Bookworm,
# and hope to get back to "apt-get install yosys" then.
# Commit 7ce5011 corresponds to yosys-0.23 2022-11-08, matching
# the version in Debian Bookworm.
# Note that the standard yosys build process used here requires
# network access to download abc from https://github.com/berkeley-abc/abc.
# network access to download abc from https://github.com/YosysHQ/abc.
RUN apt-get update && \
apt-get install -y \
clang \
Expand All @@ -66,7 +66,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* && \
git clone https://github.com/cliffordwolf/yosys.git && \
cd yosys && \
git checkout 40e35993af6ecb6207f15cc176455ff8d66bcc69 && \
git checkout 7ce5011c24bc4c605578bb16576cadf79373e23f && \
make config-clang && \
make -j4 && \
make install && \
Expand Down

0 comments on commit 2d00c79

Please sign in to comment.