mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
@@ -22,7 +22,7 @@ BreakBeforeBinaryOperators: NonAssignment
|
|||||||
BreakBeforeBraces: Custom
|
BreakBeforeBraces: Custom
|
||||||
# fails if all initializers fit on one line
|
# fails if all initializers fit on one line
|
||||||
BreakConstructorInitializers: AfterColon
|
BreakConstructorInitializers: AfterColon
|
||||||
ColumnLimit: 90
|
ColumnLimit: 85
|
||||||
# fails
|
# fails
|
||||||
ConstructorInitializerIndentWidth: 2
|
ConstructorInitializerIndentWidth: 2
|
||||||
IncludeBlocks: Preserve
|
IncludeBlocks: Preserve
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
|
|||||||
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
|
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \
|
||||||
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \
|
&& sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \
|
||||||
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo \
|
&& sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo \
|
||||||
&& yum install -y devtoolset-11 wget cmake3 make eigen3-devel tcl swig3 flex zlib-devel valgrind \
|
&& yum install -y devtoolset-11 git wget cmake3 make eigen3-devel tcl swig3 flex zlib-devel valgrind \
|
||||||
&& yum clean -y all
|
&& yum clean -y all
|
||||||
|
|
||||||
RUN ln -sf /usr/bin/cmake3 /usr/bin/cmake
|
RUN ln -sf /usr/bin/cmake3 /usr/bin/cmake
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -184,13 +184,23 @@ files in the build directory.
|
|||||||
|
|
||||||
## Build with Docker
|
## Build with Docker
|
||||||
|
|
||||||
An alternative way to build and run OpenSTA is with
|
AN alternative way to build and run OpenSTA is with
|
||||||
[Docker](https://www.docker.com). After installing Docker, the
|
[Docker](https://www.docker.com). After installing Docker, the
|
||||||
following command builds a Docker image.
|
following command builds a Docker image.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd OpenSTA
|
cd OpenSTA
|
||||||
docker build --file Dockerfile.ubuntu22.04 --tag opensta_ubuntu22.04 .
|
docker build --file Dockerfile.ubuntu22.04 --tag opensta_ubuntu22.04 .
|
||||||
|
or
|
||||||
|
docker build --file Dockerfile.centos7 --tag opensta_centos7 .
|
||||||
|
```
|
||||||
|
|
||||||
|
The centos7 build on mac/OsX with ARM processorts requires the platform
|
||||||
|
to be specified.
|
||||||
|
|
||||||
|
```
|
||||||
|
docker build --file Dockerfile.centos7 --platform=linux/amd64 --tag opensta_centos7 .
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To run a docker container using the OpenSTA image, use the -v option
|
To run a docker container using the OpenSTA image, use the -v option
|
||||||
|
|||||||
Reference in New Issue
Block a user