Set default providers for all virtual dependencies (#3634)
* Set default providers for everything * Add default OpenFOAM provider
This commit is contained in:
parent
ffef681377
commit
c0cfaacbc8
@ -17,8 +17,17 @@ packages:
|
|||||||
all:
|
all:
|
||||||
compiler: [gcc, intel, pgi, clang, xl, nag]
|
compiler: [gcc, intel, pgi, clang, xl, nag]
|
||||||
providers:
|
providers:
|
||||||
mpi: [openmpi, mpich]
|
|
||||||
blas: [openblas]
|
|
||||||
lapack: [openblas]
|
|
||||||
awk: [gawk]
|
awk: [gawk]
|
||||||
|
blas: [openblas]
|
||||||
|
daal: [intel-parallel-studio+daal]
|
||||||
|
elf: [elfutils]
|
||||||
|
golang: [gcc]
|
||||||
|
ipp: [intel-parallel-studio+ipp]
|
||||||
|
lapack: [openblas]
|
||||||
|
mkl: [intel-parallel-studio+mkl]
|
||||||
|
mpe: [mpe2]
|
||||||
|
mpi: [openmpi, mpich]
|
||||||
|
opencl: [pocl]
|
||||||
|
openfoam: [foam-extend]
|
||||||
pil: [py-pillow]
|
pil: [py-pillow]
|
||||||
|
scalapack: [netlib-scalapack]
|
||||||
|
@ -589,8 +589,8 @@ function _spack_providers {
|
|||||||
then
|
then
|
||||||
compgen -W "-h --help" -- "$cur"
|
compgen -W "-h --help" -- "$cur"
|
||||||
else
|
else
|
||||||
compgen -W "blas daal elf golang ipp lapack mkl
|
compgen -W "awk blas daal elf golang ipp lapack mkl
|
||||||
mpe mpi openfoam pil scalapack" -- "$cur"
|
mpe mpi opencl openfoam pil scalapack" -- "$cur"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
from spack.pkg.builtin.intel import IntelInstaller
|
from spack.pkg.builtin.intel import IntelInstaller
|
||||||
|
|
||||||
|
|
||||||
class Daal(IntelInstaller):
|
class IntelDaal(IntelInstaller):
|
||||||
"""Intel Data Analytics Acceleration Library.
|
"""Intel Data Analytics Acceleration Library.
|
||||||
|
|
||||||
Note: You will have to add the download file to a
|
Note: You will have to add the download file to a
|
||||||
@ -44,6 +44,8 @@ class Daal(IntelInstaller):
|
|||||||
version('2016.3.210', 'ad747c0dd97dace4cad03cf2266cad28',
|
version('2016.3.210', 'ad747c0dd97dace4cad03cf2266cad28',
|
||||||
url="file://%s/l_daal_2016.3.210.tgz" % os.getcwd())
|
url="file://%s/l_daal_2016.3.210.tgz" % os.getcwd())
|
||||||
|
|
||||||
|
provides('daal')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
|
||||||
self.intel_prefix = os.path.join(prefix, "pkg")
|
self.intel_prefix = os.path.join(prefix, "pkg")
|
@ -28,7 +28,7 @@
|
|||||||
from spack.pkg.builtin.intel import IntelInstaller
|
from spack.pkg.builtin.intel import IntelInstaller
|
||||||
|
|
||||||
|
|
||||||
class Ipp(IntelInstaller):
|
class IntelIpp(IntelInstaller):
|
||||||
"""Intel Integrated Performance Primitives.
|
"""Intel Integrated Performance Primitives.
|
||||||
|
|
||||||
Note: You will have to add the download file to a
|
Note: You will have to add the download file to a
|
||||||
@ -42,6 +42,8 @@ class Ipp(IntelInstaller):
|
|||||||
version('9.0.3.210', '0e1520dd3de7f811a6ef6ebc7aa429a3',
|
version('9.0.3.210', '0e1520dd3de7f811a6ef6ebc7aa429a3',
|
||||||
url="file://%s/l_ipp_9.0.3.210.tgz" % os.getcwd())
|
url="file://%s/l_ipp_9.0.3.210.tgz" % os.getcwd())
|
||||||
|
|
||||||
|
provides('ipp')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
|
||||||
self.intel_prefix = os.path.join(prefix, "pkg")
|
self.intel_prefix = os.path.join(prefix, "pkg")
|
Loading…
Reference in New Issue
Block a user