1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 12:32:40 +01:00

Configure script for qmckl_dgemm.

This commit is contained in:
v1j4y 2022-08-09 16:01:26 +02:00
parent f5d3d446a3
commit e0513e6d4a

View File

@ -190,6 +190,24 @@ AS_IF([test "x$with_trexio" != xno], [
PKG_CFLAGS="$PKG_CFLAGS $TREXIO_CFLAGS"
PKG_LIBS="$PKG_LIBS $TREXIO_LIBS"
# QMCKL_DGEMM
AC_ARG_WITH(qmckldgemm, [AS_HELP_STRING([--without-qmckldgemm],[disable support for QMCKLDGEMM])],
with_qmckldgemm=$withval, with_qmckldgemm=no)
AS_IF([test "x$with_qmckldgemm" != xno], [
AC_DEFINE([HAVE_QMCKLDGEMM], [1], [Define if your have libqmckldgemm])
ARGS="${ARGS} qmckldgemm"
AC_CHECK_LIB([qmckldgemm], [qmckl_packed_matrix_create],
[],
[AS_IF([test "x$with_qmckldgemm" != xcheck],
[PKG_CHECK_MODULES([QMCKLDGEMM], [qmckldgemm]) ])
])
])
PKG_CFLAGS="$PKG_CFLAGS $QMCKLDGEMM_CFLAGS"
PKG_LIBS="$PKG_LIBS $QMCKLDGEMM_LIBS"
## BLAS
AX_BLAS([], [AC_MSG_ERROR([BLAS was not found.])])