gromacs: Specify c++ stdlib for aocc (#36553)
Co-authored-by: Christoph Junghans <junghans@lanl.gov>
This commit is contained in:
parent
7801577cd5
commit
0707ffd4e4
1 changed files with 3 additions and 0 deletions
|
@ -424,6 +424,9 @@ def cmake_args(self):
|
|||
]
|
||||
)
|
||||
|
||||
if self.spec.satisfies("%aocc"):
|
||||
options.append("-DCMAKE_CXX_FLAGS=--stdlib=libc++")
|
||||
|
||||
if self.spec.satisfies("@2020:"):
|
||||
options.append("-DGMX_INSTALL_LEGACY_API=ON")
|
||||
|
||||
|
|
Loading…
Reference in a new issue