Skip to content

Commit 2584a2c

Browse files
committed
Merge branch 'master' into manpage_docs
2 parents 35b696c + f8d87d5 commit 2584a2c

File tree

346 files changed

+135332
-24278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+135332
-24278
lines changed

.dockerignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ flow/run-me*.sh
1616
flow/vars*.sh
1717
flow/vars*.tcl
1818
flow/vars*.gdb
19-
flow/versions.txt
2019

2120
# Common temp files
2221
flow/*.log
@@ -29,6 +28,5 @@ flow/*.log
2928
# core dumps
3029
core*
3130

32-
# git
33-
.git
34-
.gitignore
31+
# local dependencies
32+
dependencies/

.github/workflows/github-actions-cron-test-installer.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
os: ["ubuntu20.04", "ubuntu22.04", "centos7"]
29+
os: ["ubuntu20.04", "ubuntu22.04"]
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Check out repository code
@@ -52,9 +52,4 @@ jobs:
5252
- name: Test build
5353
run: |
5454
cmd="source ./env.sh ; yosys -help ; openroad -help ; make -C flow ;"
55-
if [[ ${{ matrix.os }} == "centos7" ]]; then
56-
cmd="source /opt/rh/devtoolset-8/enable; ${cmd}"
57-
cmd="source /opt/rh/llvm-toolset-7.0/enable; ${cmd}"
58-
cmd="source /opt/rh/rh-python38/enable; ${cmd}"
59-
fi
6055
docker run openroad/flow-${{ matrix.os }}-builder /bin/bash -c "${cmd}"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ flow/run-me*.sh
2020
flow/vars*.sh
2121
flow/vars*.tcl
2222
flow/vars*.gdb
23-
flow/versions.txt
2423

2524
# Common temp files
2625
flow/pt_shell_command.log
@@ -91,3 +90,4 @@ docs/build
9190
GitGuide.md
9291
Manpage.md
9392
mainREADME.md
93+
build

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ binaries, including OpenROAD, Yosys and Klayout. See instructions
8080
> **Disclaimer** The versions of OpenROAD, Yosys and Klayout provided by
8181
> other third-party vendors are not guaranteed to work with ORFS.
8282
83-
### Local Installation
83+
### Build from sources locally
8484

85-
Document for detailed local installation steps found [here](./docs/user/BuildLocally.md).
85+
Document for detailed local build from sources and installation steps found [here](./docs/user/BuildLocally.md).
8686

8787
## Using the Flow
8888

build_openroad.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,12 @@ __local_build()
273273
set -u
274274
fi
275275

276+
YOSYS_ABC_PATH=tools/yosys/abc
277+
if [[ -d "${YOSYS_ABC_PATH}/.git" ]]; then
278+
# update indexes to make sure git diff-index uses correct data
279+
git --work-tree=${YOSYS_ABC_PATH} --git-dir=${YOSYS_ABC_PATH}/.git update-index --refresh
280+
fi
281+
276282
echo "[INFO FLW-0017] Compiling Yosys."
277283
${NICE} make install -C tools/yosys -j "${PROC}" ${YOSYS_ARGS}
278284

docker/Dockerfile.builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# i.e., "./build_openroad.sh --local" from inside a docker container
33
# NOTE: don't use this file directly unless you know what you are doing,
44
# instead use etc/DockerHelper.sh
5-
ARG fromImage=openroad/flow-centos7-dev:latest
5+
ARG fromImage=openroad/flow-ubuntu22.04-dev:latest
66

77
FROM $fromImage
88

docker/Dockerfile.dev

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# create image with dependencies needed to compile openroad app and run openroad flow scripts
22
# NOTE: don't use this file directly unless you know what you are doing,
33
# instead use etc/DockerHelper.sh
4-
ARG fromImage=centos:centos7
4+
ARG fromImage=ubuntu:22.04
55

66
FROM $fromImage
77

@@ -12,5 +12,13 @@ COPY DependencyInstaller.sh .
1212
COPY InstallerOpenROAD.sh \
1313
/tmp/installer/tools/OpenROAD/etc/DependencyInstaller.sh
1414

15-
RUN ./DependencyInstaller.sh \
15+
ARG options=""
16+
17+
RUN ./DependencyInstaller.sh $options \
1618
&& rm -rf /tmp/installer
19+
20+
ARG fromImage
21+
22+
RUN echo "$fromImage" | grep -q "ubuntu" && \
23+
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so || \
24+
echo "Skipping strip command as fromImage does not contain 'ubuntu'"

docs/user/BuildWithDocker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ You can restrict the number of CPUs with the `-t|--threads N` argument:
7171
The binaries are only available from inside a Docker container. Here is an example of starting a container from the created Docker image.
7272

7373
``` shell
74-
docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd)/flow:/OpenROAD-flow-scripts/flow openroad/flow-ubuntu22-builder
74+
docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd)/flow:/OpenROAD-flow-scripts/flow openroad/flow-ubuntu22.04-builder
7575
```
7676

7777
Then, inside docker:

docs/user/BuildWithPrebuilt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Please ensure the Klayout version (denoted with `klayoutVersion` variable) is co
55

66
Instructions for installing:
77
- [Klayout>=0.28.8](https://www.klayout.de/build.html)
8-
- [Yosys>=0.21](https://github.com/YosysHQ/oss-cad-suite-build/blob/master/README.md#installation)
8+
- [Yosys>=0.39](https://github.com/YosysHQ/oss-cad-suite-build/blob/master/README.md#installation)
99

1010
```{tip} Unfortunately KLayout maintainers do not provide Debian 10/11 compatible packages. You can follow the build-from-sources instruction (Version >=0.25) and Ubuntu 22 instructions [here](https://www.klayout.de/build.html#:~:text=Building%20KLayout%20on%20Linux%20(Version%20%3E%3D%200.25)).
1111
```

docs/user/FlowVariables.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,9 @@ configuration file.
239239

240240
| Variable | Description |
241241
|--------------------------|----------------------------------------------------------------------------------------------------|
242-
| `ADDITIONAL_LEFS` | Hardened macro LEF view files listed here. |
243-
| `ADDITIONAL_LIBS` | Hardened macro library files listed here. |
242+
| `ADDITIONAL_FILES` | Additional files to be added to `make issue` archive |
243+
| `ADDITIONAL_LEFS` | Hardened macro LEF view files listed here. The LEF information of the macros is immutable and used throughout all stages. Stored in the .odb file. |
244+
| `ADDITIONAL_LIBS` | Hardened macro library files listed here. The library information is immutable and used throughout all stages. Not stored in the .odb file. |
244245
| `ADDITIONAL_GDS` | Hardened macro GDS files listed here. |
245246
| `VERILOG_INCLUDE_DIRS` | Specifies the include directories for the Verilog input files. |
246247
| `CORNER` | PVT corner library selection. Only available for ASAP7 and GF180 PDK. |

0 commit comments

Comments
 (0)