Open ocaisa opened 3 weeks ago
I guess we could support this for EESSI and site installations since we control the exposure of those module trees.
For the site case, I would probably disable --robot
in this case and issue a warning that this has been done so they do not accidentally install CPU-only dependencies into the accelerator stack
https://github.com/EESSI/software-layer/pull/710 introduced a change in
configure_easybuild
to support accelerators but this change has not been incorportated intoEESSI-extend
. It's not entirely clear how we want to do this either sinceEESSI-extend
supports 4 different scenarios (CVMFS, site, project, user).Do we want this distinction to apply in all cases? This introduces complexity as the behaviour of the module will depend on whether or not the trigger environment variable (
EESSI_ACCELERATOR_TARGET
) is set or not, and for the end user there are no protections in place to stop them accidentally installing a CPU build into an accelerator target space. The only "person" automatically settingEESSI_ACCELERATOR_TARGET
is the bot, so I think this bit of logic is best suited to the bot build scripts (unless we put protections in place in our EB hooks).