MLopez-Ibanez / irace

Iterated Racing for Automatic Algorithm Configuration
https://mlopez-ibanez.github.io/irace/
GNU General Public License v2.0
58 stars 14 forks source link

Feature Request: Distribute package as a binary #29

Closed DE0CH closed 2 years ago

DE0CH commented 2 years ago

Right now installing irace requires the user to build irace from source, which is not complicated but on some systems I've used (such as the computer in my school's lab), the complier is so broken that it can't even build it successfully and without root access, one cannot easily install a working version of gcc. This just got me thinking if we can distribute irace as a self-contained bianry with an R interpreter bundled. This is probably against every unix philosophy but it might be a good last resort for people using a system that is very broken. What do you think?

Or it is possible to distribute a pre-built R library?

MLopez-Ibanez commented 2 years ago

Ubuntu already has a package r-cran-irace.

OSX and Windows versions from CRAN are distributed already compiled.

There is also irace.sindef file that may be used for building a standalone container of irace using Singularity. Perhaps this container could be pushed to some container repository (or do the same using Docker or using Snaps). If you know how to do that, I'm happy to add any commands/scripts/changes to make it easier and even to make it automatically after each release (or even after each push).

DE0CH commented 2 years ago

Oh I see. That sounds good. I don't really know how to do that now, but maybe I can try to figure it out and get back to you. Maybe! :D