charmpp: build fix for aocc (#45826)
This commit is contained in:
parent
2613a14c43
commit
00fae6dd79
@ -374,6 +374,13 @@ def install(self, spec, prefix):
|
||||
if spec.satisfies("+tracing"):
|
||||
options.append("--enable-tracing")
|
||||
|
||||
# charmpp build was failing with clang based compilers for -DNETWORK=mpi as discussed in
|
||||
# https://github.com/charmplusplus/charm/issues/3645
|
||||
# Fix was suggested in https://github.com/charmplusplus/charm/pull/3646 and the same has
|
||||
# been implemented in v8.0.0
|
||||
if self.spec.satisfies("@8.0.0: %aocc"):
|
||||
options.append("--disable-fortran")
|
||||
|
||||
# Call "make" via the build script
|
||||
# Note: This builds Charm++ in the "tmp" subdirectory of the
|
||||
# install directory. Maybe we could set up a symbolic link
|
||||
|
Loading…
Reference in New Issue
Block a user