Created
December 10, 2018 10:03
-
-
Save polynomialspace/61825cd49d9d573afc45e7f3fcb8e028 to your computer and use it in GitHub Desktop.
Docker file for migen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
ENV TZ=UTC | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
ENV DEBIAN_FRONTEND=noninteractive | |
#^ Really, ubuntu? (tzdata hanging) | |
RUN apt-get update && apt-get -y install bison build-essential clang cmake flex gawk git graphviz gtkwave libboost-all-dev libffi-dev libftdi-dev libreadline-dev python3 python3-dev python3-setuptools qt5-default tcl-dev xdot | |
RUN git clone https://github.com/cliffordwolf/icestorm && cd icestorm && make -j $(nproc) && make install | |
RUN git clone https://github.com/YosysHQ/nextpnr && cd nextpnr && cmake -DARCH=ice40 . && make -j $(nproc) && make install | |
RUN git clone https://github.com/YosysHQ/yosys && cd yosys && make -j $(nproc) && make install | |
RUN git clone https://github.com/m-labs/migen && cd migen && python3 setup.py build && python3 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment