speexdsp: update to use oneapi packages (#49434)
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
fe00c13afa
commit
cc6ab75063
@ -41,17 +41,17 @@ def autoreconf(self, spec, prefix):
|
||||
|
||||
def configure_args(self):
|
||||
args = []
|
||||
|
||||
if "intel-mkl" in self.spec:
|
||||
if self.spec.satisfies("^[virtuals=fftw-api] intel-oneapi-mkl"):
|
||||
# get the blas libs explicitly to avoid scalapack getting returned
|
||||
args.extend(
|
||||
[
|
||||
"--with-fft=proprietary-intel-mkl",
|
||||
"CPPFLAGS={0}".format(self.spec["intel-mkl"].headers.cpp_flags),
|
||||
"LDFLAGS={0}".format(self.spec["blas"].libs.ld_flags),
|
||||
f"CPPFLAGS={self.spec['intel-oneapi-mkl'].headers.cpp_flags}",
|
||||
f"LDFLAGS={self.spec['intel-oneapi-mkl'].libs.ld_flags}",
|
||||
]
|
||||
)
|
||||
elif "fftw" in self.spec:
|
||||
|
||||
elif self.spec.satisfies("^[virtuals=fftw-api] fftw"):
|
||||
args.append("--with-fft=gpl-fftw3")
|
||||
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user