diff options
-rw-r--r-- | var/spack/repos/builtin/packages/ncl/for_aarch64.patch | 10 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/ncl/package.py | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ncl/for_aarch64.patch b/var/spack/repos/builtin/packages/ncl/for_aarch64.patch new file mode 100644 index 0000000000..23799d8d00 --- /dev/null +++ b/var/spack/repos/builtin/packages/ncl/for_aarch64.patch @@ -0,0 +1,10 @@ +--- spack-src/config/ymake.bak 2021-02-26 14:49:53.611863443 +0900 ++++ spack-src/config/ymake 2021-02-26 14:52:08.501852485 +0900 +@@ -367,6 +367,7 @@ + case x*64: + case p*64: + case alpha: ++ case aarch64: + set model = $mach + set arch = $mach + set sysincs = LINUX diff --git a/var/spack/repos/builtin/packages/ncl/package.py b/var/spack/repos/builtin/packages/ncl/package.py index b4626232e6..df5b8015c1 100644 --- a/var/spack/repos/builtin/packages/ncl/package.py +++ b/var/spack/repos/builtin/packages/ncl/package.py @@ -23,6 +23,8 @@ class Ncl(Package): version('6.5.0', sha256='133446f3302eddf237db56bf349e1ebf228240a7320699acc339a3d7ee414591') version('6.4.0', sha256='0962ae1a1d716b182b3b27069b4afe66bf436c64c312ddfcf5f34d4ec60153c8') + patch('for_aarch64.patch', when='target=aarch64:') + patch('spack_ncl.patch') # Make ncl compile with hdf5 1.10 (upstream as of 6.5.0) patch('hdf5.patch', when="@6.4.0") |