Mercurial > hg > octave-lojdl
changeset 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 | b516da00c5e4 |
children | c398dde4d409 |
files | configure.ac |
diffstat | 1 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -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)