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:
lukebroskop
2021-05-11 17:58:36 -05:00
committed by GitHub
parent 444c5edf4d
commit d089409079

View File

@@ -197,6 +197,8 @@ def install(self, spec, prefix):
for arg in std_cmake_args:
if arg.count("RPATH") == 0:
cmake_args.append(arg)
if self.spec.satisfies('%cce'):
cmake_args.extend(["-DCMAKE_Fortran_FLAGS=-ef"])
cmake_args.extend(["-C", host_cfg_fname, "../src"])
print("Configuring Ascent...")
cmake(*cmake_args)