diff options
author | Toyohisa Kameyama <kameyama@riken.jp> | 2019-07-22 11:56:14 +0900 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-07-21 21:56:14 -0500 |
commit | 8ca90e26d933a263066ba02efc150753f1cad0c7 (patch) | |
tree | a380b6645b80949e9ba16a9de961c4aa32a72b6b /var/spack/repos/builtin/packages/libsharp/1.0.0-arm.patch | |
parent | 1d5ab13be899035616c28efe17a3a2f3b2a7847d (diff) | |
download | spack-8ca90e26d933a263066ba02efc150753f1cad0c7.tar.gz spack-8ca90e26d933a263066ba02efc150753f1cad0c7.tar.bz2 spack-8ca90e26d933a263066ba02efc150753f1cad0c7.tar.xz spack-8ca90e26d933a263066ba02efc150753f1cad0c7.zip |
libsharp: Don't add -march=native on ARM (#12064)
* libsharp: Don't add -march=native on ARM
* Add preferred=True to version 1.0.0.
Diffstat (limited to 'var/spack/repos/builtin/packages/libsharp/1.0.0-arm.patch')
-rwxr-xr-x | var/spack/repos/builtin/packages/libsharp/1.0.0-arm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libsharp/1.0.0-arm.patch b/var/spack/repos/builtin/packages/libsharp/1.0.0-arm.patch new file mode 100755 index 0000000000..1f68c96ce9 --- /dev/null +++ b/var/spack/repos/builtin/packages/libsharp/1.0.0-arm.patch @@ -0,0 +1,13 @@ +diff -ru spack-src/configure.ac spack-src.new/configure.ac +--- spack-src/configure.ac 2019-07-19 13:59:16.000000000 +0900 ++++ spack-src.new/configure.ac 2019-07-19 14:13:36.973408139 +0900 +@@ -49,7 +49,7 @@ + + case $CCTYPE in + gcc) +- CCFLAGS="-O3 -fno-tree-vectorize -ffast-math -fomit-frame-pointer -std=c99 -pedantic -Wextra -Wall -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors -march=native" ++ CCFLAGS="-O3 -fno-tree-vectorize -ffast-math -fomit-frame-pointer -std=c99 -pedantic -Wextra -Wall -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors" + GCCVERSION="`$CC -dumpversion 2>&1`" + echo "Using gcc version $GCCVERSION" + AC_SUBST(GCCVERSION) +Only in spack-src.new: configure.ac.new |