Skip to content

Commit

Permalink
fix missing cblas link (CentOS, Arch, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Garnotel committed Jun 7, 2019
1 parent 57c6a47 commit f204a45
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1472,17 +1472,17 @@ AC_SUBST(BLASINC,$ff_blas_inc)

#looking for cblas.h FH

if test "$ff_blas_ok" = yes -a -z "$ff_download_blas" ;
then
AC_CHECK_HEADERS(cblas.h,
ff_cblas_h=yes,
ff_cblas_h=no)
AC_CHECK_HEADERS(Accelerate/cblas.h,
ff_cblas_h=yes
ff_cblas_h=no)
AC_CHECK_HEADERS(atlas/cblas.h,
ff_cblas_h=yes
ff_cblas_h=no)
if test "$ff_blas_ok" = yes -a -z "$ff_download_blas"; then
AC_CHECK_HEADERS(cblas.h,
ff_cblas_h=yes,
ff_cblas_h=no)
AC_CHECK_HEADERS(Accelerate/cblas.h,
ff_cblas_h=yes,
ff_cblas_h=no)
AC_CHECK_HEADERS(atlas/cblas.h,
ff_cblas_h=yes,
ff_cblas_h=no)
AC_CHECK_LIB([cblas], [cblas_zdotu_sub], [LIBS+=-lcblas])
fi

# ALH - 18/9/13 - [[file:3rdparty/blas/Makefile.am]] does not update the WHERE mechanism so it always needs to be set up
Expand Down

0 comments on commit f204a45

Please sign in to comment.