-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
71 lines (61 loc) · 1.83 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
FROM ubuntu:22.04 AS build
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
pkgconf \
ca-certificates \
software-properties-common \
gnupg \
gnupg2 \
libnl-3-200 \
libnl-route-3-200 \
libhwloc-dev \
libnuma1 \
bzip2 \
file \
make \
perl \
tar \
flex \
git \
curl \
vim \
openssh-client \
libnuma-dev \
build-essential \
autoconf \
automake \
gfortran \
python3 \
python-is-python3 \
python3-dev \
python3-pip \
python3-venv \
libtool \
wget && \
rm -rf /var/lib/apt/lists
RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y \
gperf g++ bison ccache \
libgoogle-perftools-dev numactl perl-doc help2man \
libfl2 libfl-dev \
libncursesw5-dev && \
rm -rf /var/lib/apt/lists
RUN wget https://github.com/verilator/verilator/archive/refs/tags/v5.030.tar.gz && \
tar -xvf v5.030.tar.gz && cd verilator-5.030 && \
autoconf && ./configure && make -j `nproc` && make install && \
cd / && rm -rf /verilator-5.030 && rm -rf v5.030.tar.gz
RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y \
libreadline-dev gawk tcl-dev libffi-dev \
graphviz xdot pkg-config libboost-system-dev \
libboost-python-dev libboost-filesystem-dev && \
rm -rf /var/lib/apt/lists
RUN git clone --recurse-submodules https://github.com/YosysHQ/yosys.git && \
cd yosys && git checkout 0.46 && \
make config-gcc && make -j `nproc` && make install && \
pip install liberty-parser && \
cd / && rm -rf /yosys
RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y \
iverilog && \
rm -rf /var/lib/apt/lists
RUN mkdir -p /var/vhdl
WORKDIR /var/vhdl