[nwchem] march and mfpmath removed

Marcin Dulak marcindulak at fedoraproject.org
Thu Feb 6 22:36:24 UTC 2014


commit ac53e3e63914defbf331453775b8dccdf6fe2815
Author: marcindulak <Marcin.Dulak at gmail.com>
Date:   Thu Feb 6 23:35:32 2014 +0100

    march and mfpmath removed

 nwchem.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/nwchem.spec b/nwchem.spec
index 3b42fa9..05d41bf 100644
--- a/nwchem.spec
+++ b/nwchem.spec
@@ -144,9 +144,11 @@ This package contains the data files.
 
 %prep
 %setup -q -n %{name}-%{major_version}.revision%{minor_version}-src.%{posttag}
-# remove -march=native -mtune=native: cause koji to fail with
+# remove -march=native -mtune=native -mfpmath=sse: cause koji to fail with
 # f951: error: CPU you selected does not support x86-64 instruction set
+sed -e 's|-march=native||g' -i src/config/makefile.h
 sed -e 's|=native|=generic|g' -i src/config/makefile.h
+sed -e 's|-mfpmath=sse||g' -i src/config/makefile.h
 
 
 %build


More information about the scm-commits mailing list