Update providers of virtual packages related to Intel OneAPI (#37412)

* add a virtual dependency name instead of complete package name

* add OneAPI components as providers of virtual packages

* Revert the default of tbb

---------

Co-authored-by: Nisarg Patel <nisarg.patel@lrz.de>
This commit is contained in:
Nisarg Patel 2023-05-11 11:58:24 +02:00 committed by GitHub
parent 0c69e5a442
commit f090b05346
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -20,7 +20,7 @@ packages:
awk: [gawk]
blas: [openblas, amdblis]
D: [ldc]
daal: [intel-daal]
daal: [intel-oneapi-daal]
elf: [elfutils]
fftw-api: [fftw, amdfftw]
flame: [libflame, amdlibflame]
@ -30,7 +30,7 @@ packages:
golang: [go, gcc]
go-or-gccgo-bootstrap: [go-bootstrap, gcc]
iconv: [libiconv]
ipp: [intel-ipp]
ipp: [intel-oneapi-ipp]
java: [openjdk, jdk, ibm-java]
jpeg: [libjpeg-turbo, libjpeg]
lapack: [openblas, amdlibflame]
@ -40,7 +40,7 @@ packages:
lua-lang: [lua, lua-luajit-openresty, lua-luajit]
luajit: [lua-luajit-openresty, lua-luajit]
mariadb-client: [mariadb-c-client, mariadb]
mkl: [intel-mkl]
mkl: [intel-oneapi-mkl]
mpe: [mpe2]
mpi: [openmpi, mpich]
mysql-client: [mysql, mariadb-c-client]

View file

@ -93,7 +93,7 @@ class IntelOneapiDal(IntelOneApiLibraryPackage):
expand=False,
)
depends_on("intel-oneapi-tbb")
depends_on("tbb")
provides("daal")
provides("onedal")

View file

@ -93,7 +93,7 @@ class IntelOneapiDnn(IntelOneApiLibraryPackage):
expand=False,
)
depends_on("intel-oneapi-tbb")
depends_on("tbb")
@property
def component_dir(self):

View file

@ -94,7 +94,7 @@ class IntelOneapiIpp(IntelOneApiLibraryPackage):
expand=False,
)
depends_on("intel-oneapi-tbb")
depends_on("tbb")
provides("ipp")

View file

@ -105,7 +105,7 @@ class IntelOneapiMkl(IntelOneApiLibraryPackage):
multi=False,
)
depends_on("intel-oneapi-tbb")
depends_on("tbb")
# cluster libraries need mpi
depends_on("mpi", when="+cluster")