diff options
author | G-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com> | 2019-05-06 13:52:40 -0400 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-05-07 02:52:40 +0900 |
commit | b64a286820c66b0eb90818e4049deb87bc994cdf (patch) | |
tree | 4473da39843cd235fda095842a0b177a543d726c /var | |
parent | dd3573b78def83ed5e09e612c80fabc774c667f9 (diff) | |
download | spack-b64a286820c66b0eb90818e4049deb87bc994cdf.tar.gz spack-b64a286820c66b0eb90818e4049deb87bc994cdf.tar.bz2 spack-b64a286820c66b0eb90818e4049deb87bc994cdf.tar.xz spack-b64a286820c66b0eb90818e4049deb87bc994cdf.zip |
SLATE package: fix variant/header errors (#11353)
* The 'mkl' variant implementation was not complete and was
preventing the package from building, so remove it.
* The slate.hh file has moved in the 'develop' version (which is
currently the only version of SLATE listed)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/slate/package.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/slate/package.py b/var/spack/repos/builtin/packages/slate/package.py index c684e4af25..85f31667c5 100644 --- a/var/spack/repos/builtin/packages/slate/package.py +++ b/var/spack/repos/builtin/packages/slate/package.py @@ -22,17 +22,11 @@ class Slate(Package): version('develop', hg=hg) variant('cuda', default=True, description='Build with CUDA support.') - # SLATE will eventually be buildable without intel-mkl by using other - # providers of cblas and scalapack. - # variant('mkl', default=True, description='Build using Intel MKL.') variant('mpi', default=True, description='Build with MPI support.') variant('openmp', default=True, description='Build with OpenMP support.') depends_on('cuda@9:', when='+cuda') depends_on('intel-mkl') - # The cblas and scalapack dependencies are provided by MKL only for now. - # depends_on('cblas') - # depends_on('scalapack') depends_on('mpi', when='+mpi') conflicts('%gcc@:5') @@ -47,16 +41,15 @@ class Slate(Package): f_cuda = "1" if spec.variants['cuda'].value else "0" f_mpi = "1" if spec.variants['mpi'].value else "0" f_openmp = "1" if spec.variants['openmp'].value else "0" - f_mkl = "1" if spec.variants['mkl'].value else "0" compiler = 'mpicxx' if spec.variants['mpi'].value else '' make('mpi=' + f_mpi, 'mkl=1', 'cuda=' + f_cuda, 'openmp=' + f_openmp, - 'mkl=' + f_mkl, 'CXX=' + compiler) + 'CXX=' + compiler) install_tree('lib', prefix.lib) install_tree('test', prefix.test) mkdirp(prefix.include) - install('slate.hh', prefix.include) + install('include/slate/slate.hh', prefix.include) install('lapack_api/lapack_slate.hh', prefix.include + "/slate_lapack_api.hh") install('scalapack_api/scalapack_slate.hh', |