diff options
author | Denis Davydov <davydden@gmail.com> | 2018-11-15 17:10:50 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-11-15 17:10:50 +0100 |
commit | 32884dbc031a69521b4e71dae04507809b4feca3 (patch) | |
tree | 78607c909e3e9927dd734f866a36713a5f7f6771 /var | |
parent | 2b64047e07ccd8a0b97168603d406c97c5eea4f7 (diff) | |
download | spack-32884dbc031a69521b4e71dae04507809b4feca3.tar.gz spack-32884dbc031a69521b4e71dae04507809b4feca3.tar.bz2 spack-32884dbc031a69521b4e71dae04507809b4feca3.tar.xz spack-32884dbc031a69521b4e71dae04507809b4feca3.zip |
dbcsr: minor fixes due to upstream changes (#9799)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dbcsr/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/dbcsr/package.py b/var/spack/repos/builtin/packages/dbcsr/package.py index af1ba5f749..53bef55ca8 100644 --- a/var/spack/repos/builtin/packages/dbcsr/package.py +++ b/var/spack/repos/builtin/packages/dbcsr/package.py @@ -28,12 +28,13 @@ class Dbcsr(CMakePackage): '-DUSE_MPI=%s' % ('ON' if '+mpi' in spec else 'OFF'), '-DUSE_OPENMP=%s' % ( 'ON' if '+openmp' in spec else 'OFF'), - '-DWITH_C_API=ON', + # C API need MPI + '-DWITH_C_API=%s' % ('ON' if '+mpi' in spec else 'OFF'), '-DLAPACK_FOUND=true', '-DLAPACK_LIBRARIES=%s' % spec['lapack'].libs.joined(';'), '-DBLAS_FOUND=true', '-DBLAS_LIBRARIES=%s' % spec['blas'].libs.joined(';'), - '-DWITH_EXAMPLES=OFF', + '-DWITH_EXAMPLES=ON', '-DBUILD_SHARED_LIBS=ON' ] |