unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 宋文武 <iyzsong@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: zita-convolver: Drop the '-march=native' optimization.
Date: Wed, 06 Jan 2016 22:13:55 +0100	[thread overview]
Message-ID: <874meq5s30.fsf@elephly.net> (raw)
In-Reply-To: <1452095330-14147-1-git-send-email-iyzsong@gmail.com>


> +              (snippet
> +               ;; Don't optimize for a specific processor architecture.
> +               '(substitute* "libs/Makefile"
> +                  (("^CXXFLAGS \\+= -march=native") "")))
> +              (modules '((guix build utils)))

Is this to avoid that packages are optimised for the CPU of the build
slave?  If so, could we instead pass different optimisation flags for
different architectures?  For a convolver I’d prefer to have *some*
optimisation, even if it’s just the greatest common divisor.

~~ Ricardo

  reply	other threads:[~2016-01-06 21:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 15:48 [PATCH 2/2] gnu: zita-convolver: Drop the '-march=native' optimization 宋文武
2016-01-06 21:13 ` Ricardo Wurmus [this message]
2016-01-07  3:58   ` 宋文武
2016-01-07  8:37     ` Ricardo Wurmus
2016-01-07 13:20       ` Ludovic Courtès
2016-01-07 14:53         ` 宋文武

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=874meq5s30.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).