guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] gnu: zita-convolver: Drop the '-march=native' optimizati


From: Ricardo Wurmus
Subject: Re: [PATCH 2/2] gnu: zita-convolver: Drop the '-march=native' optimization.
Date: Wed, 06 Jan 2016 22:13:55 +0100
User-agent: mu4e 0.9.13; emacs 24.5.1

> +              (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 via email to

[Prev in Thread] Current Thread [Next in Thread]