The-OpenROAD-Project / bazel-orfs

BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Speed up ORFS version change #114

Closed eszpotanski closed 3 weeks ago

eszpotanski commented 3 weeks ago

This PR changes how the @docker_orfs is created to speed up the process of changing the ORFS version.

First of all, instead of exporting Docker image to TAR file and extracting it, Docker container is run and files are copied directly from it.

Moreover, patcher.py script was parallelized - read-only commands are run in parallel preparing patchelf commands updating linking information, which are later on run sequentially.

When updating ORFS version from v3.0-1114-g46acc762 to v3.0-1154-gdfcf7c64, following speedup can be observed:

oharboe commented 3 weeks ago

@hovind FYI