openmx: Fix for aarch64 (#21367)

This commit is contained in:
Tomoyasu Nojiri 2021-01-29 03:20:18 +09:00 committed by GitHub
parent b6d52fa466
commit 6ae8d5c380
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- spack-src/source/Krylov.c.bak 2016-03-27 15:53:28.000000000 +0900
+++ spack-src/source/Krylov.c 2021-01-28 15:31:32.660274698 +0900
@@ -29,7 +29,7 @@
#ifdef nosse
#include "mimic_sse.h"
#else
-#include <emmintrin.h>
+#include <sse2neon.h>
#endif
#ifdef kcomp

View file

@ -25,6 +25,9 @@ class Openmx(MakefilePackage):
depends_on('fftw')
depends_on('blas')
depends_on('lapack')
depends_on('sse2neon', when='target=aarch64:')
patch('for_aarch64.patch', when='@3.8 target=aarch64:')
parallel = False