openloops: use cmodel small on aarch64 instead of large (#48299)
This commit is contained in:
parent
66a00fe103
commit
e76f8fda2d
@ -277,13 +277,13 @@ def configure(self, spec, prefix):
|
||||
if self.spec.satisfies("@2.1.1") and not is_intel:
|
||||
f.write("gfortran_f_flags = -ffree-line-length-none " + "-fdollar-ok ")
|
||||
if self.spec.target.family == "aarch64":
|
||||
f.write("-mcmodel=large\n")
|
||||
f.write("-mcmodel=small\n")
|
||||
else:
|
||||
f.write("-mcmodel=medium\n")
|
||||
if self.spec.satisfies("@2.1.2:") and not is_intel:
|
||||
f.write("gfortran_f_flags = -ffree-line-length-none " + "-fdollar-ok\n")
|
||||
if self.spec.target.family == "aarch64":
|
||||
f.write("cmodel = large\n")
|
||||
f.write("cmodel = small\n")
|
||||
|
||||
if self.spec.satisfies("@:1 processes=lcg.coll"):
|
||||
copy(join_path(os.path.dirname(__file__), "sft1.coll"), "lcg.coll")
|
||||
|
Loading…
Reference in New Issue
Block a user