The-OpenROAD-Project / megaboom

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

out: Calculate cache path based on workspace path hash #38

Closed eszpotanski closed 5 months ago

eszpotanski commented 5 months ago

This PR modifies behavior of out script, so instead of choosing the newest Bazel cache folder, its name is calculated as MD5 hash of workspace root path, as described in Bazel docs. Moreover, recurse function was fixed as it's searched only one (the newest) branch, even if it was empty.

oharboe commented 5 months ago

Will test at next oportunity. Merging now does no harm, because what is on master doesn't work.