camx: change compile option for aarch64 (#17653)
This commit is contained in:
parent
08b5b56566
commit
13b3578d2f
@ -60,6 +60,10 @@ def patch(self):
|
|||||||
|
|
||||||
def edit(self, spec, prefix):
|
def edit(self, spec, prefix):
|
||||||
makefile = FileFilter('Makefile')
|
makefile = FileFilter('Makefile')
|
||||||
|
if spec.target.family == 'aarch64':
|
||||||
|
makefile.filter('-mcmodel=medium', '-mcmodel=large')
|
||||||
|
makefile = FileFilter('./MPI/util/Makefile')
|
||||||
|
makefile.filter('-mcmodel=medium', '-mcmodel=large')
|
||||||
|
|
||||||
# Support Intel MPI.
|
# Support Intel MPI.
|
||||||
if spec['mpi'].name == 'intel-mpi':
|
if spec['mpi'].name == 'intel-mpi':
|
||||||
|
Loading…
Reference in New Issue
Block a user