all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: CPU-specific builds
Date: Sat, 1 Oct 2016 20:43:04 +1000	[thread overview]
Message-ID: <5985e2f0-edd3-c40b-bb10-f84b233bb48d@uq.edu.au> (raw)

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.

             reply	other threads:[~2016-10-01 10:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01 10:43 Ben Woodcroft [this message]
2016-10-02 13:33 ` CPU-specific builds 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5985e2f0-edd3-c40b-bb10-f84b233bb48d@uq.edu.au \
    --to=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.