You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow using an external JSON file for microarchitectures #144
I have a feature request for archspec. I'd like the ability to provide an external microarch definition, and have spack/archspec use that instead of it's internal definitions. To explain why this would be helpful I have two primary usecases:
Unreleased hardware is hard to optimize for with an explicit archspec (like sapphire rapids before it was public)
Virtualized environments sometimes don't provide the same CPU flags that bare metal environments surface.
So, it would be nice to be able to change the definition to optimize for these environments. Granted, some packages (like openssh) cause problems when you do this, as they use some of the flags you need, but only allowing x86_64 on these packages can get around the issues. So, it would be nice to either:
Allow spack to provide it as a CLI argument
Allow spack's config to define where the archspec file should be read from (maybe a config section, or something like that?)
Activity