Skip to content

Commit

Permalink
Dockerfile: downgrade yosys, nextpnr, and prjtrellis
Browse files Browse the repository at this point in the history
  • Loading branch information
vamposdecampos committed Dec 8, 2019
1 parent b6c24e7 commit 0daa140
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ FROM base as build-trellis
WORKDIR /build
RUN git clone --recursive https://github.com/SymbiFlow/prjtrellis
WORKDIR /build/prjtrellis/libtrellis
RUN git checkout 3311e6d
RUN cmake -DCMAKE_INSTALL_PREFIX=/opt/icestorm .
RUN make -j$(nproc)
RUN make install
Expand All @@ -30,6 +31,8 @@ COPY --from=build-icestorm /opt/icestorm /opt/icestorm
COPY --from=build-trellis /opt/icestorm /opt/icestorm
WORKDIR /build
RUN git clone https://github.com/YosysHQ/nextpnr.git
WORKDIR /build/nextpnr
RUN git checkout 19cb4ca
WORKDIR /build/nextpnr/build-ice40
RUN cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/opt/icestorm -DICEBOX_ROOT=/opt/icestorm/share/icebox ..
RUN make -j$(nproc)
Expand All @@ -55,6 +58,7 @@ FROM base as build-yosys
WORKDIR /build
RUN git clone https://github.com/YosysHQ/yosys.git
WORKDIR /build/yosys
RUN git checkout 70d0f38
RUN sed -i 's#/usr/local$#/opt/icestorm#' Makefile
RUN make -j$(nproc)
RUN make install
Expand Down

0 comments on commit 0daa140

Please sign in to comment.