Bug#840186: [Debichem-devel] Bug#840186: Bug#840186: nwchem builds on amd64 with -march=native

2016-11-18 Thread Apra, Edoardo
Yes,

You are right. I mistakenly sent the -R version.

The new attachment should be the right one.

Could you please update the NWChem Debian source?

We already got a few report of failures from NWChem users.

Thanks, Edo


On 11/18/2016 03:16 AM, Michael Banck wrote:
> Hi,
>
>> On Fri, Nov 18, 2016 at 01:18:23AM +, Apra, Edoardo wrote:
>>> -  FOPTIONS +=  -mtune=native
>>> +  FOPTIONS += -march=native -mtune=native
> By the way, it seems this patch is reversed, as it adds -march=native.
>
>
> Michael
>

--- nwchem-6.6/src/config/makefile.h.orig	2016-11-17 22:26:29.497599135 +
+++ nwchem-6.6/src/config/makefile.h	2016-11-17 22:29:09.794581240 +
@@ -1956,7 +1956,7 @@
   FOPTIONS +=  -ff2c -fno-second-underscore
 endif
 ifeq ($(GNU_GE_4_6),true) 
-  FOPTIONS += -march=native -mtune=native
+  FOPTIONS +=  -mtune=native
   FOPTIONS += -finline-functions
 else
 ifeq ($(_GOT3DNOW),Y) 


Bug#840186: [Debichem-devel] Bug#840186: Bug#840186: nwchem builds on amd64 with -march=native

2016-11-18 Thread Michael Banck
Hi,

> On Fri, Nov 18, 2016 at 01:18:23AM +, Apra, Edoardo wrote:
> > -  FOPTIONS +=  -mtune=native
> > +  FOPTIONS += -march=native -mtune=native

By the way, it seems this patch is reversed, as it adds -march=native.


Michael