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.
- Building
- Merging
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.
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
Finally, we merge all the tools in a single docker image.
make merge
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
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).