Mercurial > octave-nkf
diff configure.ac @ 15308:a4d7909c4edb
configure.ac: Disable JIT compilation by default. Added --enable-jit to compile JIT.
* configure.ac: Disable JIT compilation by default. Added --enable-jit to
compile JIT.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 05 Sep 2012 20:17:05 -0700 |
parents | ec3a9ff6c375 |
children | d7514add71e2 |
line wrap: on
line diff
--- a/configure.ac Wed Sep 05 20:22:20 2012 -0400 +++ b/configure.ac Wed Sep 05 20:17:05 2012 -0700 @@ -673,12 +673,12 @@ ### Check for the LLVM library -build_jit=true +build_jit=false AC_ARG_ENABLE([jit], - [AS_HELP_STRING([--disable-jit], - [disable JIT compiler, some performance loss for code with loops])], - [if test "$enableval" = no; then - build_jit=false + [AS_HELP_STRING([--enable-jit], + [(EXPERIMENTAL) enable JIT compiler])], + [if test "$enableval" = yes; then + build_jit=true fi], []) @@ -766,10 +766,11 @@ OCTAVE_CONFIGURE_WARNING([warn_llvm]) fi -else - ## JIT build disabled - warn_llvm="JIT compiler disabled, some performance loss for code with loops" - OCTAVE_CONFIGURE_WARNING([warn_llvm]) +## FIXME: Re-instate when JIT is enabled by default +#else +# ## JIT build disabled +# warn_llvm="JIT compiler disabled, some performance loss for loops" +# OCTAVE_CONFIGURE_WARNING([warn_llvm]) fi AC_SUBST(LLVM_CPPFLAGS)