adding actflow and openroad

This commit is contained in:
Edward Arthur Bingham 2023-12-14 08:20:30 -05:00
parent 8417481a4a
commit a61f43cf6b
2 changed files with 18 additions and 16 deletions

View File

@ -90,22 +90,16 @@ RUN ./configure
RUN make RUN make
RUN make install RUN make install
# install OpenRoad
#WORKDIR /toolsrc
#RUN git clone https://www.github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
#WORKDIR OpenROAD-flow-scripts
# install ACT # install ACT
RUN pwd RUN pwd
WORKDIR /toolsrc WORKDIR /toolsrc
RUN apt-get install -y libedit-dev zlib1g-dev m4 git gcc g++ make RUN apt-get install -y libedit-dev zlib1g-dev m4 git gcc g++ make libboost-all-dev
RUN git clone https://www.github.com/asyncvlsi/act.git RUN git clone https://www.github.com/asyncvlsi/actflow.git
WORKDIR act WORKDIR actflow
RUN git submodule update --init --recursive
ENV ACT_HOME=/opt/cad ENV ACT_HOME=/opt/cad
ENV VLSI_TOOLS_SRC=/toolsrc/act ENV VLSI_TOOLS_SRC=/toolsrc/actflow
RUN ./configure $ACT_HOME CC=mpicc CXX=mpic++
RUN ./build RUN ./build
RUN make install
# install actsim # install actsim
WORKDIR /toolsrc WORKDIR /toolsrc
@ -169,20 +163,28 @@ RUN cp pr/pr pr/scripts/* /opt/cad/bin
RUN apt-get -y install sudo RUN apt-get -y install sudo
# install OpenRoad
WORKDIR /toolsrc
RUN git clone --recursive https://www.github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
WORKDIR OpenROAD-flow-scripts
RUN SUDO_USER="root" ./setup.sh
RUN ./build_openroad.sh --local --install-path /opt/openroad --nice
RUN mv dependencies /opt/or-tools
# Clean up source code folder
RUN rm -rf /toolsrc
# install editors # install editors
WORKDIR "/" WORKDIR "/"
ADD home template
RUN apt-get update RUN apt-get update
RUN apt-get install --fix-missing -y vim RUN apt-get install --fix-missing -y vim
ADD home template
RUN mkdir -p /template/.vim/pack/plugins/start RUN mkdir -p /template/.vim/pack/plugins/start
RUN git clone https://www.github.com/fatih/vim-go.git /template/.vim/pack/plugins/start/vim-go RUN git clone https://www.github.com/fatih/vim-go.git /template/.vim/pack/plugins/start/vim-go
RUN git clone https://github.com/tpope/vim-fugitive /template/.vim/pack/plugins/start/fugitive RUN git clone https://github.com/tpope/vim-fugitive /template/.vim/pack/plugins/start/fugitive
RUN git clone https://www.github.com/preservim/nerdtree.git /template/.vim/pack/plugins/start/nerdtree RUN git clone https://www.github.com/preservim/nerdtree.git /template/.vim/pack/plugins/start/nerdtree
RUN vim +GoInstallBinaries +qall RUN vim +GoInstallBinaries +qall
# Clean up source code folder
#RUN rm -rf /toolsrc
# Connect user home directory of host machine # Connect user home directory of host machine
RUN mkdir "/host" RUN mkdir "/host"
WORKDIR "/host" WORKDIR "/host"

View File

@ -1,4 +1,4 @@
export HWLOC_HIDE_ERRORS=2 export HWLOC_HIDE_ERRORS=2
export ACT_HOME="/opt/cad" export ACT_HOME="/opt/cad"
export PATH="/opt/go/bin:/opt/cad/bin:$HOME/.local/bin:$PATH" export PATH="/opt/go/bin:/opt/cad/bin:/opt/openroad/OpenROAD/bin:/opt/openroad/yosys/bin:$HOME/.local/bin:$PATH"
export PRSPICE_INSTALL="$ACT_HOME/lib/prspice" export PRSPICE_INSTALL="$ACT_HOME/lib/prspice"