dbcsr: minor fixes due to upstream changes (#9799)

This commit is contained in:
Denis Davydov 2018-11-15 17:10:50 +01:00 committed by Massimiliano Culpo
parent 2b64047e07
commit 32884dbc03

View file

@ -28,12 +28,13 @@ def cmake_args(self):
'-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'
]