lammps: enable linking with armpl-gcc FFT (#34980)
This commit is contained in:
parent
f050b1cf78
commit
ee3529fc10
@ -909,6 +909,12 @@ def cmake_args(self):
|
||||
args.append("-DFFT=MKL")
|
||||
if "^amdfftw" in spec:
|
||||
args.append(self.define("FFT", "FFTW3"))
|
||||
if "^armpl-gcc" in spec:
|
||||
args.append(self.define("FFT", "FFTW3"))
|
||||
args.append(self.define("FFTW3_LIBRARY", self.spec["fftw-api"].libs[0]))
|
||||
args.append(
|
||||
self.define("FFTW3_INCLUDE_DIR", self.spec["fftw-api"].headers.directories[0])
|
||||
)
|
||||
if "^cray-fftw" in spec:
|
||||
args.append("-DFFT=FFTW3")
|
||||
# Using the -DFFT_SINGLE setting trades off a little accuracy
|
||||
|
Loading…
Reference in New Issue
Block a user