Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry
2026-03-11 08:22:26 -07:00
parent 7668e43d2c
commit 0703d8ef40
3 changed files with 13 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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