summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Petrov <nikolay.a.petrov@intel.com>2021-06-11 10:47:27 +0300
committerGitHub <noreply@github.com>2021-06-11 09:47:27 +0200
commitec2d8a1571080c9034ef0880d18322027f5c86eb (patch)
treeee032e624807e8332a498997e2e6850a8a9db90f
parentc630594092ed46e0170e713d6a45c9d1598f85fd (diff)
downloadspack-ec2d8a1571080c9034ef0880d18322027f5c86eb.tar.gz
spack-ec2d8a1571080c9034ef0880d18322027f5c86eb.tar.bz2
spack-ec2d8a1571080c9034ef0880d18322027f5c86eb.tar.xz
spack-ec2d8a1571080c9034ef0880d18322027f5c86eb.zip
Fixing provides directive for intel-oneapi-onedal package (#24108)
-rw-r--r--etc/spack/defaults/packages.yaml1
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-dal/package.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/spack/defaults/packages.yaml b/etc/spack/defaults/packages.yaml
index bc6a1c110d..17fb4e2be1 100644
--- a/etc/spack/defaults/packages.yaml
+++ b/etc/spack/defaults/packages.yaml
@@ -40,6 +40,7 @@ packages:
mpi: [openmpi, mpich]
mysql-client: [mysql, mariadb-c-client]
opencl: [pocl]
+ onedal: [intel-oneapi-dal]
osmesa: [mesa+osmesa, mesa18+osmesa]
pil: [py-pillow]
pkgconfig: [pkgconf, pkg-config]
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
index 991a01825b..b9e5cdd083 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
@@ -29,6 +29,7 @@ class IntelOneapiDal(IntelOneApiLibraryPackage):
depends_on('intel-oneapi-tbb')
provides('daal')
+ provides('onedal')
@property
def component_dir(self):