1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 20:36:01 +01:00

Added --with-icx

This commit is contained in:
Anthony Scemama 2023-11-28 12:44:35 +01:00
parent 952ca05bf0
commit 063aada9e4

View File

@ -58,6 +58,22 @@ AS_IF([test "x$with_ifort" = "xyes"], [
FCFLAGS="-march=native -ip -Ofast -ftz -finline -g -mkl=sequential" ]) FCFLAGS="-march=native -ip -Ofast -ftz -finline -g -mkl=sequential" ])
# Intel C compiler # Intel C compiler
AC_ARG_WITH([icx],
[AS_HELP_STRING([--with-icx],
[Use Intel C compiler])],
[with_icx=$withval],
[with_icx=no])
AS_IF([test "x$with_icx" = "xyes"], [
CC=icx
CFLAGS="-march=native -ip -Ofast -ftz -finline -g -mkl=sequential" ])
AS_IF([test "x$with_icx.$with_ifort" = "xyes.yes"], [
ax_blas_ok="yes"
ax_lapack_ok="yes"
BLAS_LIBS=""
LAPACK_LIBS=""])
AC_ARG_WITH([icc], AC_ARG_WITH([icc],
[AS_HELP_STRING([--with-icc], [AS_HELP_STRING([--with-icc],
[Use Intel C compiler])], [Use Intel C compiler])],