guix-devel
[Top][All Lists]
Advanced

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

Re: Obs on non-x86


From: Andreas Enge
Subject: Re: Obs on non-x86
Date: Thu, 14 Jul 2016 17:03:01 +0200
User-agent: Mutt/1.6.1 (2016-04-27)

On Tue, Jul 12, 2016 at 11:06:27AM +0300, Efraim Flashner wrote:
> A quick fix would be to change `IF(NOT MSVC)' to `IF(MSVC)' and (without
> checking) that would likely get the old functionality back, but I bet
> there's somewhere else we can change it.

This is a somewhat misleading fix, and if I understand things correctly,
it disables the special instructions "-mmx" etc. everywhere; but we should
keep them for x86_64. For instance, in the definition of zynaddsubfx we have
         (add-after 'unpack 'remove-sse-flags-from-generic-target
          (lambda _
            (substitute* "src/CMakeLists.txt"
              (("-msse -msse2 -mfpmath=sse") "")
              (("-march=(athlon64|core2)" flag)
               (string-append flag " -msse -msse2 -mfpmath=sse")))
            #t)))))

I think this would warrant a bug report upstream, preferably by someone
who uses the package.

Andreas




reply via email to

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