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):
|
def configure_args(self):
|
||||||
args = []
|
args = []
|
||||||
|
if self.spec.satisfies("^[virtuals=fftw-api] intel-oneapi-mkl"):
|
||||||
if "intel-mkl" in self.spec:
|
|
||||||
# get the blas libs explicitly to avoid scalapack getting returned
|
# get the blas libs explicitly to avoid scalapack getting returned
|
||||||
args.extend(
|
args.extend(
|
||||||
[
|
[
|
||||||
"--with-fft=proprietary-intel-mkl",
|
"--with-fft=proprietary-intel-mkl",
|
||||||
"CPPFLAGS={0}".format(self.spec["intel-mkl"].headers.cpp_flags),
|
f"CPPFLAGS={self.spec['intel-oneapi-mkl'].headers.cpp_flags}",
|
||||||
"LDFLAGS={0}".format(self.spec["blas"].libs.ld_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")
|
args.append("--with-fft=gpl-fftw3")
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user