Hi,
In many cases we can set the --with-arch flag when configuring GCC, so that packages built with that GCC are optimised for that architecture by default.Hi Guix, I was wondering how we should go about optionally building software for more advanced CPU features. Currently, we build software for the lowest common feature set among x86_64 CPUs. That’s good for portability, but not so good for performance.
GUILE_LOAD_PATH=/path/to/cpu-specific-guix:$GUILE_LOAD_PATH\
guix build -e '(begin (use-modules (cpu-specific-guix) (gnu packages bioinformatics))\
(cpu-specific-package diamond "sandybridge"))'