updating prspice version

This commit is contained in:
Edward Arthur Bingham 2024-06-05 14:23:38 +00:00
parent cde5bdacf0
commit 9291812360

View File

@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1.0-experimental
# Stage #1: build all executables
FROM ubuntu:latest
FROM ubuntu:jammy
SHELL ["/bin/bash", "-c"]
RUN apt-get update
@ -29,10 +29,9 @@ RUN apt-get install -y autoconf automake git
RUN apt-get install -y libhwloc15 libopenmpi-dev openmpi-bin openmpi-common
# install python
RUN apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install -y python3 pip
RUN apt-get remove cmake -y
RUN pip install cmake --upgrade
RUN apt-get remove -y cmake; pip install cmake --upgrade
RUN apt-get install -y bison
RUN apt-get install -y bison # cmake
RUN git clone --depth=1 https://github.com/trilinos/Trilinos.git --branch trilinos-release-15-1-1
RUN git clone --depth=1 https://github.com/Xyce/Xyce.git --branch Release-7.8.0
@ -70,7 +69,7 @@ RUN make install
WORKDIR /toolsrc
RUN git clone --recursive https://www.github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
WORKDIR OpenROAD-flow-scripts
RUN apt-get -y install sudo
RUN apt-get install -y sudo libpython3.11
RUN SUDO_USER="root" ./setup.sh
RUN ./build_openroad.sh --local --install-path /opt/openroad --nice
RUN mv dependencies /opt/or-tools
@ -89,6 +88,7 @@ RUN sed -i 's/make/make CXX=mpic++ CC=mpicc CC_COMPILER=mpicc CXX_COMPILER=mpic+
WORKDIR /toolsrc/actflow
RUN echo "g++" > CXX_COMPILER
RUN CXX="g++" CC="gcc" CXX_COMPILER="g++" CC_COMPILER="gcc" ./build
# RUN ./build
# install actsim
#WORKDIR /toolsrc
@ -160,7 +160,7 @@ RUN apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install
# install prspice
WORKDIR /toolsrc
RUN git clone https://github.com/nbingham1/prspice.git --branch v0.0.1
RUN git clone https://github.com/nbingham1/prspice.git --branch v0.0.2
WORKDIR prspice
RUN make
RUN cp prdbase prspice /opt/cad/bin
@ -198,7 +198,7 @@ RUN make
RUN cp floret-linux /opt/cad/bin/floret
# Stage 2: Copy everything over to final image
FROM ubuntu:latest
FROM ubuntu:jammy
SHELL ["/bin/bash", "-c"]
RUN mkdir toolsrc