# docker配置 ## route_sta ``` docker FROM ubuntu:22.04 WORKDIR /src ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y gnupg2 ca-certificates RUN echo "deb [trusted=yes] https://downloads.skewed.de/apt jammy main" >> /etc/apt/sources.list RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key 612DEFB798507F25 RUN apt-get update RUN apt-get install -y git RUN apt-get install -y software-properties-common RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y RUN apt-get update RUN apt-get install -y gcc-11 g++-11 RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100 RUN apt-get install -y libpython-all-dev RUN apt-get install -y libboost-all-dev RUN apt-get install -y libcairo2 RUN apt-get install -y libcairo2-dev RUN apt-get install -y python3-matplotlib RUN apt-get update RUN apt-get install -y vim RUN apt-get install -y python3-pip RUN pip install pycairo==1.20.1 RUN pip install pandas==2.2.2 RUN pip install scikit-learn RUN pip install numpy==1.24.4 RUN pip install pydantic RUN pip install pyyaml WORKDIR /app RUN apt-get install build-essential cmake tcl-dev swig bison flex libeigen3-dev RUN wget https://raw.githubusercontent.com/davidkebo/cudd/refs/heads/main/cudd_versions/cudd-3.0.0.tar.gz RUN tar -zxvf cudd-3.0.0.tar.gz WORKDIR /app/cudd-3.0.0 RUN ./configure RUN make install WORKDIR /app RUN wget http://lemon.cs.elte.hu/pub/sources/lemon-1.3.1.tar.gz RUN tar -zxvf lemon-1.3.1.tar.gz WORKDIR /app/lemon-1.3.1 RUN cmake -B build RUN cmake --build build RUN cmake --install build WORKDIR /app RUN git clone --recursive https://github.com/pumpkinblade/route_sta WORKDIR /app/route_sta ``` ## OpenROAD ``` docker FROM ubuntu:22.04 WORKDIR /src ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y gnupg2 ca-certificates RUN echo "deb [trusted=yes] https://downloads.skewed.de/apt jammy main" >> /etc/apt/sources.list RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key 612DEFB798507F25 RUN apt-get update RUN apt-get install -y git RUN apt-get install -y software-properties-common RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y RUN apt-get update RUN apt-get install -y gcc-11 g++-11 RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100 RUN apt-get install -y libpython-all-dev RUN apt-get install -y libboost-all-dev RUN apt-get install -y libcairo2 RUN apt-get install -y libcairo2-dev RUN apt-get install -y python3-matplotlib RUN apt-get update RUN apt-get install -y python3-graph-tool RUN apt-get -y purge nvidia* RUN apt remove -y nvidia-* RUN apt-get -y autoremove RUN apt-get install -y vim RUN apt-get install -y python3-pip RUN pip install pycairo==1.20.1 RUN pip install pandas==2.2.2 RUN pip install scikit-learn RUN pip install numpy==1.24.4 RUN pip install pydantic RUN pip install pyyaml WORKDIR /app RUN git clone --recursive https://github.com/liangrj2014/OpenROAD_ISPD25.git RUN git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD.git WORKDIR /app/OpenROAD_ISPD25 RUN ./etc/DependencyInstaller.sh RUN mkdir build WORKDIR /app/OpenROAD/build RUN cmake .. RUN make -j 6 WORKDIR /app ``` 最后修改:2025 年 03 月 23 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏