CrayPE fix for ascent (#23517)
Pass the -ef flag to the CCE fortran compiler Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
parent
444c5edf4d
commit
d089409079
@ -197,6 +197,8 @@ def install(self, spec, prefix):
|
|||||||
for arg in std_cmake_args:
|
for arg in std_cmake_args:
|
||||||
if arg.count("RPATH") == 0:
|
if arg.count("RPATH") == 0:
|
||||||
cmake_args.append(arg)
|
cmake_args.append(arg)
|
||||||
|
if self.spec.satisfies('%cce'):
|
||||||
|
cmake_args.extend(["-DCMAKE_Fortran_FLAGS=-ef"])
|
||||||
cmake_args.extend(["-C", host_cfg_fname, "../src"])
|
cmake_args.extend(["-C", host_cfg_fname, "../src"])
|
||||||
print("Configuring Ascent...")
|
print("Configuring Ascent...")
|
||||||
cmake(*cmake_args)
|
cmake(*cmake_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user