The-OpenROAD-Project / OpenROAD

OpenROAD's unified application implementing an RTL-to-GDS Flow. Documentation at https://openroad.readthedocs.io/en/latest/
https://theopenroadproject.org/
BSD 3-Clause "New" or "Revised" License
1.63k stars 563 forks source link

Dependency installer should compare versions #6201

Open maliberty opened 6 days ago

maliberty commented 6 days ago
          I noticed a limitation in the current dependency installer script. Currently, it installs yosys, sby, and eqy only if they are not found in the `/usr/local/` path. This means it does not update these dependencies if an older version is already installed. We might want to consider checking the installed version and updating it if it doesn't match the latest version.

I tried implementing this feature but was not successful at a first moment, so I am currently only doing the split tag for yosys and eqy/sby.

I noticed this behavior for yosys, eqy, and sby, but it could potentially occur with other dependencies as well.

Originally posted by @gudeh in https://github.com/The-OpenROAD-Project/OpenROAD/issues/6140#issuecomment-2486638975