mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-25 06:31:45 +02:00
Configure script for qmckl_dgemm.
This commit is contained in:
parent
f5d3d446a3
commit
e0513e6d4a
18
configure.ac
18
configure.ac
@ -190,6 +190,24 @@ AS_IF([test "x$with_trexio" != xno], [
|
|||||||
PKG_CFLAGS="$PKG_CFLAGS $TREXIO_CFLAGS"
|
PKG_CFLAGS="$PKG_CFLAGS $TREXIO_CFLAGS"
|
||||||
PKG_LIBS="$PKG_LIBS $TREXIO_LIBS"
|
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
|
## BLAS
|
||||||
AX_BLAS([], [AC_MSG_ERROR([BLAS was not found.])])
|
AX_BLAS([], [AC_MSG_ERROR([BLAS was not found.])])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user