updating prspice version
This commit is contained in:
parent
cde5bdacf0
commit
9291812360
14
Dockerfile
14
Dockerfile
@ -1,7 +1,7 @@
|
|||||||
# syntax = docker/dockerfile:1.0-experimental
|
# syntax = docker/dockerfile:1.0-experimental
|
||||||
|
|
||||||
# Stage #1: build all executables
|
# Stage #1: build all executables
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:jammy
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
RUN apt-get update
|
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
|
RUN apt-get install -y libhwloc15 libopenmpi-dev openmpi-bin openmpi-common
|
||||||
# install python
|
# install python
|
||||||
RUN apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install -y python3 pip
|
RUN apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install -y python3 pip
|
||||||
RUN apt-get remove cmake -y
|
RUN apt-get remove -y cmake; pip install cmake --upgrade
|
||||||
RUN 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/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
|
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
|
WORKDIR /toolsrc
|
||||||
RUN git clone --recursive https://www.github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
|
RUN git clone --recursive https://www.github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
|
||||||
WORKDIR OpenROAD-flow-scripts
|
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 SUDO_USER="root" ./setup.sh
|
||||||
RUN ./build_openroad.sh --local --install-path /opt/openroad --nice
|
RUN ./build_openroad.sh --local --install-path /opt/openroad --nice
|
||||||
RUN mv dependencies /opt/or-tools
|
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
|
WORKDIR /toolsrc/actflow
|
||||||
RUN echo "g++" > CXX_COMPILER
|
RUN echo "g++" > CXX_COMPILER
|
||||||
RUN CXX="g++" CC="gcc" CXX_COMPILER="g++" CC_COMPILER="gcc" ./build
|
RUN CXX="g++" CC="gcc" CXX_COMPILER="g++" CC_COMPILER="gcc" ./build
|
||||||
|
# RUN ./build
|
||||||
|
|
||||||
# install actsim
|
# install actsim
|
||||||
#WORKDIR /toolsrc
|
#WORKDIR /toolsrc
|
||||||
@ -160,7 +160,7 @@ RUN apt-get update --fix-missing; DEBIAN_FRONTEND=noninteractive apt-get install
|
|||||||
|
|
||||||
# install prspice
|
# install prspice
|
||||||
WORKDIR /toolsrc
|
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
|
WORKDIR prspice
|
||||||
RUN make
|
RUN make
|
||||||
RUN cp prdbase prspice /opt/cad/bin
|
RUN cp prdbase prspice /opt/cad/bin
|
||||||
@ -198,7 +198,7 @@ RUN make
|
|||||||
RUN cp floret-linux /opt/cad/bin/floret
|
RUN cp floret-linux /opt/cad/bin/floret
|
||||||
|
|
||||||
# Stage 2: Copy everything over to final image
|
# Stage 2: Copy everything over to final image
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:jammy
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
RUN mkdir toolsrc
|
RUN mkdir toolsrc
|
||||||
|
Loading…
Reference in New Issue
Block a user