ncl: allow building on aarch64 (#21984)
This commit is contained in:
parent
c2784b2d41
commit
b6ac3bb6d7
10
var/spack/repos/builtin/packages/ncl/for_aarch64.patch
Normal file
10
var/spack/repos/builtin/packages/ncl/for_aarch64.patch
Normal file
@ -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
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user