Skip to content

Commit e6f80a1

Browse files
authored
Merge pull request #1261 from luarss/fix_prebuilt
[Docs] update prebuilt docs
2 parents 6858bc3 + 9ebf842 commit e6f80a1

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/user/BuildWithPrebuilt.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Instructions for installing:
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
```
12+
1213
## Install OpenROAD
1314
Download pre-built binaries with self-contained dependencies
1415
included from the Precision Innovations' Github releases
@@ -28,22 +29,30 @@ Step 2: Download the artifacts for your distribution.
2829

2930
Step 3: Run the install command based on platform use package installer.
3031
For example Ubuntu 20.04 use:
32+
3133
```shell
3234
sudo apt install ./openroad_2.0_amd64-ubuntu20.04.deb
3335
```
36+
3437
You can install these binaries within docker as well.
3538

3639

3740
## Verify Installation
3841
You may clone the OpenROAD-flow-scripts repository non-recursively.
42+
3943
```
4044
git clone https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git
4145
```
46+
4247
Export path variables accordingly.
48+
4349
```
44-
export PATH="<yosys_location>/bin:$PATH"
45-
export PATH="<klayout_location>/bin:$PATH" # only if built from source
46-
export LD_LIBRARY_PATH="<klayout_location>/bin:$PATH" # only if built from source
50+
# these variables are used in flow/Makefile. Do make sure the yosys path is sourced.
51+
export OPENROAD_EXE=$(command -v openroad)
52+
export YOSYS_CMD=$(shell command -v yosys)
53+
54+
# only if KLayout is built from source
55+
export LD_LIBRARY_PATH="<klayout_location>/bin:$PATH"
4756
4857
yosys -help
4958
openroad -help

0 commit comments

Comments
 (0)