all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* CPU-specific builds
@ 2016-10-01 10:43 Ben Woodcroft
  2016-10-02 13:33 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Woodcroft @ 2016-10-01 10:43 UTC (permalink / raw)
  To: guix-devel@gnu.org

Hi,

Currently, we build a single set of x86_64 packages assuming SSE but not 
SSE2 instructions, but sometimes it would be nice to use more recent 
instructions like AVX. So I'm wondering if there is some way to specify 
a system more specific than 'X86_64'? I tried simply adding 
'--with-arch=haswell' as a configure argument in gcc-4.9 so that flag 
became the default for gcc usage and saw some performance improvements, 
though I did have to disable tests in gnutls.

Hardcoding that configure flag is definitely less than ideal, I'm 
wondering if there is some better way that would enable us to share 
package updates and even substitutes for these systems? My initial 
thought is extending the triplet 'x86_64-unknown-linux-gnu' somehow, but 
I suspect others have better ideas?

Thanks, ben.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-12 12:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-01 10:43 CPU-specific builds Ben Woodcroft
2016-10-02 13:33 ` Ludovic Courtès
2016-10-03 14:19   ` Eric Bavier
2016-10-10 13:45   ` Ben Woodcroft
2016-10-11 21:20     ` Ludovic Courtès
2016-10-12 12:22     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.