exciting: fix build on aarch64 (#20505)
This commit is contained in:
parent
16ce207481
commit
a5611e0466
12
var/spack/repos/builtin/packages/exciting/for_aarch64.patch
Normal file
12
var/spack/repos/builtin/packages/exciting/for_aarch64.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- spack-src/src/FoX/config/config.guess.bak 2019-03-20 20:13:07.000000000 +0900
|
||||
+++ spack-src/src/FoX/config/config.guess 2020-12-22 09:36:28.448022150 +0900
|
||||
@@ -832,6 +832,9 @@
|
||||
arm*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit ;;
|
||||
+ aarch64:Linux:*:*)
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ exit ;;
|
||||
avr32*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit ;;
|
@ -22,6 +22,9 @@ class Exciting(MakefilePackage):
|
||||
|
||||
# as-of-yet unpublished fix to version 14
|
||||
patch('dfgather.patch', when='@14', working_dir='src/src_xs', level=0)
|
||||
# Patch to add aarch64 in config.guess
|
||||
patch('for_aarch64.patch', when='target=aarch64:')
|
||||
|
||||
variant('mpi', default=False, description='Use MPI')
|
||||
variant('mkl', default=False, description='Use MKL')
|
||||
variant('omp', default=True, description='Use OpenMP')
|
||||
|
Loading…
Reference in New Issue
Block a user