Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.22 KB

Build Instructions

The goal of these instructions is to build a single image that contains all the tools used by openlane. This is done through two stages.

  1. Building
  2. Merging

Note

The repo already provides a snapshot of the tarballs which are generated by going through step 1, so you can jump to 2 if you wish to save time building the tools.

Building

The following make target iteratively builds each tool in a separate docker image (i.e. one docker image per tool). Then we export the binaries generated by each tool's image to tarballs in tar directory.

make build-all

Merging

Finally, we merge all the tools in a single docker image.

make merge

Additional information

Building and exporting a specific tool

You can choose to build and export a specific tool by running:

make build-<tool>

The following are the available tools:

klayout cugr drcu yosys magic openroad_app padring netgen vlogtoverilog cvc

Rebuilding

Following that, go through steps 1 and 2 to generate and update docker image.

make build-all DOCKER_BUILD_OPTS=--no-cache

make merge

This should you remove the existing tarballs. Then, build and export specific tool(s).