diff --git a/docker/Dockerfile.builder b/docker/Dockerfile.builder index 372739d305..499a470ce6 100644 --- a/docker/Dockerfile.builder +++ b/docker/Dockerfile.builder @@ -21,6 +21,13 @@ ARG numThreads=$(nproc) RUN echo "" > tools/yosys/abc/.gitcommit && \ ./build_openroad.sh --no_init --local --threads ${numThreads} +FROM $fromImage AS verilator + +COPY --link tools/verilator /OpenROAD-flow-scripts/tools/verilator + +WORKDIR /OpenROAD-flow-scripts/tools/verilator +RUN autoconf && ./configure && make -j$(nproc) && make install + FROM orfs-base # The order for copying the directories is based on the frequency of changes (ascending order), @@ -35,6 +42,8 @@ COPY --link flow/scripts flow/scripts COPY --link flow/designs flow/designs COPY --link --from=orfs-builder-base /OpenROAD-flow-scripts/tools/install tools/install +COPY --link --from=verilator /usr/local/bin/verilator /usr/local/bin/verilator +COPY --link --from=verilator /usr/local/share/verilator /usr/local/share/verilator COPY --link \ --exclude=.git* --exclude=tools/ --exclude=docs/ --exclude=docker/ \ --exclude=flow/designs --exclude=flow/platforms --exclude=flow/scripts \ diff --git a/etc/DependencyInstaller.sh b/etc/DependencyInstaller.sh index f77e7d692b..a1780eb5a5 100755 --- a/etc/DependencyInstaller.sh +++ b/etc/DependencyInstaller.sh @@ -72,10 +72,14 @@ _installUbuntuPackages() { apt-get -y update apt-get -y install --no-install-recommends \ curl \ + help2man \ + libfl-dev \ + libfl2 \ + libgoogle-perftools-dev \ libqt5multimediawidgets5 \ + libqt5opengl5 \ libqt5svg5-dev \ libqt5xmlpatterns5-dev \ - libqt5opengl5 \ libz-dev \ python3-pip \ python3-venv \ @@ -83,7 +87,9 @@ _installUbuntuPackages() { qttools5-dev \ ruby \ ruby-dev \ - time + time \ + zlib1g \ + zlib1g-dev # install KLayout if _versionCompare $1 -ge 23.04; then