gromacs: Specify c++ stdlib for aocc (#36553)

Co-authored-by: Christoph Junghans <junghans@lanl.gov>
This commit is contained in:
Daniel Ahlin 2023-04-13 13:39:58 +02:00 committed by GitHub
parent 7801577cd5
commit 0707ffd4e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")