The build framework has a dependency on docker. You will need docker Docker 18.09 (or later) installed. It is also necessary to setup an ssh-agent. You can run ssh-add -L to check if the agent is setup or eval $(ssh-agent -s) to start the agent
Run the following commands to build an export
git clone git@github.com:The-OpenROAD-Project/alpha-release.git
cd build
make build-tools
make export-toolsOnce the export is built (in the exports directory), it can be uploaded to the github releases.
Other interesting make targets
make build-%This will build the specified tool (e.g. yosys, utd, replace, etc)make run-%This will run the specified tool image with a$USERsession inside the imagemake runasroot-%This will run the specified tool image with a root session inside the imagemake export-toolsThis will create a tar.gz export of all tools
To ease use, we support a simple docker image.
git clone git@github.com:The-OpenROAD-Project/alpha-release.git
cd build
make build-tools
make export-tools-dockermake export-tools-dockerThis will build a docker image for test and generate a new docker container to test the compiled binaries.
The make export-tools-docker will generate a new bash shell that a user can test.
Type below commands to test your compiled binaries in a docker shell.
source /openroad/setenv.sh
cd /flow/
make clean_all
make
The builds can be installed to any Redhad 6 based machine. We recommend using CentOS 6.10-minimal to run a build.
Download a build (OpenROAD-XXXX-XX-XX_XX-XX.tar.gz) from the release tab and perform the following steps to install.
- Python3 (and the following libraries: queuelib, matplotlib)
- tcl8.5 & tk8.5
- libreadline6 for yosys
- libffi.so.5 for yosys
tar -xzf Openroad{version}.tar.gz
cd openroad
source setup.sh
Once installed, all OpenROAD binaries should now be in your system path.
You can pull a docker image which will have the tools and all dependencies pre-installed. To do this, you will need docker installed and have rights to run docker images. The docker image is versioned aligned with the releases.
Follow these instructions to get started
- Pull the docker image
docker pull openroad/alpha-release
- Run the docker image The following command will run the image as root:
docker run -i -t openroad/alpha-release
- You should now be able to clone the flow (this repository) or map to it and run the tools from the docker image.