Add -DOPENMP defines

new-context
Salvatore Filippone 4 years ago
parent 7ba9ae18c8
commit 288e3cd341

10
configure vendored

@ -7072,10 +7072,12 @@ $as_echo "no." >&6; }
fi fi
FCOPT="$FCOPT $pac_cv_openmp_fcopt"; if test x"$pac_cv_openmp" == x"yes" ; then
CCOPT="$CCOPT $pac_cv_openmp_ccopt"; FDEFINES="$psblas_cv_define_prepend-DOPENMP $FDEFINES";
{ $as_echo "$as_me:${as_lineno-$LINENO}: \"FLAGS: $FCOPT $OPENMP_FFLAGS\"" >&5 CDEFINES="-DOPENMP $CDEFINES";
$as_echo "$as_me: \"FLAGS: $FCOPT $OPENMP_FFLAGS\"" >&6;} FCOPT="$FCOPT $pac_cv_openmp_fcopt";
CCOPT="$CCOPT $pac_cv_openmp_ccopt";
fi
# #
# Tests for support of various Fortran features; some of them are critical, # Tests for support of various Fortran features; some of them are critical,
# some optional # some optional

@ -499,9 +499,12 @@ FDEFINES="$psblas_cv_define_prepend-DLPK${pac_cv_lpk_size} $FDEFINES";
CDEFINES="-DIPK${pac_cv_ipk_size} -DLPK${pac_cv_lpk_size} $CDEFINES" CDEFINES="-DIPK${pac_cv_ipk_size} -DLPK${pac_cv_lpk_size} $CDEFINES"
PAC_ARG_OPENMP() PAC_ARG_OPENMP()
FCOPT="$FCOPT $pac_cv_openmp_fcopt"; if test x"$pac_cv_openmp" == x"yes" ; then
CCOPT="$CCOPT $pac_cv_openmp_ccopt"; FDEFINES="$psblas_cv_define_prepend-DOPENMP $FDEFINES";
AC_MSG_NOTICE(["FLAGS: $FCOPT $OPENMP_FFLAGS"]) CDEFINES="-DOPENMP $CDEFINES";
FCOPT="$FCOPT $pac_cv_openmp_fcopt";
CCOPT="$CCOPT $pac_cv_openmp_ccopt";
fi
# #
# Tests for support of various Fortran features; some of them are critical, # Tests for support of various Fortran features; some of them are critical,
# some optional # some optional

Loading…
Cancel
Save