qmcpack: enable linking with armpl-gcc and acfl for BLAS and FFT (#34496)
This commit is contained in:
parent
6713f7feda
commit
a1b0213fcb
@ -270,6 +270,17 @@ def cmake_args(self):
|
||||
args.append("-DFFTW_HOME={0}".format(fftw_prefix))
|
||||
args.append("-DFFTW_INCLUDE_DIRS={0}".format(fftw_prefix.include))
|
||||
args.append("-DFFTW_LIBRARY_DIRS={0}".format(fftw_prefix.lib))
|
||||
elif "^armpl-gcc" in spec:
|
||||
args.append("-DFFTW_LIBRARIES={0}".format(spec["armpl-gcc"].libs.joined(";")))
|
||||
args.append("-DFFTW_INCLUDE_DIR={0}".format(spec["armpl-gcc"].headers.directories[0]))
|
||||
elif "^acfl" in spec:
|
||||
args.append("-DFFTW_LIBRARIES={0}".format(spec["acfl"].libs.joined(";")))
|
||||
args.append("-DFFTW_INCLUDE_DIR={0}".format(spec["acfl"].headers.directories[0]))
|
||||
|
||||
if "^armpl-gcc" in spec:
|
||||
args.append("-DBLAS_LIBRARIES={0}".format(spec["armpl-gcc"].libs.joined(";")))
|
||||
elif "^acfl" in spec:
|
||||
args.append("-DBLAS_LIBRARIES={0}".format(spec["acfl"].libs.joined(";")))
|
||||
|
||||
args.append("-DBOOST_ROOT={0}".format(self.spec["boost"].prefix))
|
||||
args.append("-DHDF5_ROOT={0}".format(self.spec["hdf5"].prefix))
|
||||
|
Loading…
Reference in New Issue
Block a user