Skip to content

Commit

Permalink
update configure.ac
Browse files Browse the repository at this point in the history
update configure.ac
  • Loading branch information
sn248 committed Dec 13, 2024
1 parent 5aa837c commit 4297da9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
9 changes: 3 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3244,15 +3244,12 @@ fi
if test x"${have_cmake}" == x"no"; then
. src/scripts/cmake_config.sh
if test -z "${CMAKE_BIN}"; then
##if test -z "${CMAKE_BIN}"; then
## also error to end configure there
as_fn_error $? "Could not find 'cmake'" "$LINENO" 5
fi
## AC_MSG_ERROR([Could not find 'cmake'])
##fi
fi
machine=`"${R_HOME}/bin/Rscript" -e 'cat(Sys.info()["machine"]'`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using sundialr via local camke build on ${machine} " >&5
printf "%s\n" "using sundialr via local camke build on ${machine} " >&6; }
tools/cmake_call.sh
sundialr_include=""
Expand Down
8 changes: 3 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ if test x"${need_to_build}" != x"no"; then
AC_PATH_PROG(have_cmake, cmake, no)
if test x"${have_cmake}" == x"no"; then
. src/scripts/cmake_config.sh
if test -z "${CMAKE_BIN}"; then
##if test -z "${CMAKE_BIN}"; then
## also error to end configure there
AC_MSG_ERROR([Could not find 'cmake'])
fi
## AC_MSG_ERROR([Could not find 'cmake'])
##fi
fi

machine=`"${R_HOME}/bin/Rscript" -e 'cat(Sys.info()[["machine"]]'`
AC_MSG_RESULT([using sundialr via local cmake build on ${machine} ])
tools/cmake_call.sh

sundialr_include=""
Expand Down
4 changes: 2 additions & 2 deletions inst/include/sundials/sundials_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@

#define SUN_BUILD_TYPE "Release"

#define SUN_JOB_ID "20241213122453"
#define SUN_JOB_START_TIME "20241213122453"
#define SUN_JOB_ID "20241213124105"
#define SUN_JOB_START_TIME "20241213124105"

#define SUN_TPL_LIST ""
#define SUN_TPL_LIST_SIZE ""
Expand Down

0 comments on commit 4297da9

Please sign in to comment.