lammps: add linking with acfl for FFT (#37000)

This commit is contained in:
Annop Wongwathanarat
2023-04-21 00:48:24 +01:00
committed by GitHub
parent 05215e016b
commit 5ef7e90462

View File

@@ -755,7 +755,7 @@ def cmake_args(self):
args.append(self.define("FFT", "FFTW3"))
elif "^mkl" in spec:
args.append(self.define("FFT", "MKL"))
elif "^armpl-gcc" in spec:
elif "^armpl-gcc" in spec or "^acfl" in spec:
args.append(self.define("FFT", "FFTW3"))
args.append(self.define("FFTW3_LIBRARY", self.spec["fftw-api"].libs[0]))
args.append(