gromacs: enable linking with armpl-gcc FFT (#33750)

This commit is contained in:
Annop Wongwathanarat 2022-11-08 15:44:03 +00:00 committed by GitHub
parent 89976af732
commit e4c2d1afc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -489,6 +489,13 @@ def cmake_args(self):
options.append(
"-DFFTWF_LIBRARIES={0}".format(self.spec["amdfftw"].libs.joined(";"))
)
elif "^armpl-gcc" in self.spec:
options.append(
"-DFFTWF_INCLUDE_DIR={0}".format(self.spec["armpl-gcc"].headers.directories[0])
)
options.append(
"-DFFTWF_LIBRARY={0}".format(self.spec["armpl-gcc"].libs.joined(";"))
)
# Ensure that the GROMACS log files report how the code was patched
# during the build, so that any problems are easier to diagnose.