diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | acinclude.m4 | 7 |
2 files changed, 9 insertions, 3 deletions
@@ -22,8 +22,9 @@ compilation will be enabled automatically and transparently. To disable JIT compilation, configure Guile with `--enable-jit=no' or `--disable-jit'. See `./configure --help' for more. -Guile uses an embedded copy of GNU lightning, providing support for JIT -on about a dozen platforms. +In this release, JIT compilation is enabled only on x86-64. In future +prereleases support will be added for all architectures supported by GNU +lightning. ** Lower-level bytecode diff --git a/acinclude.m4 b/acinclude.m4 index 085711454..9a2972f12 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -614,7 +614,12 @@ AC_DEFUN([GUILE_ENABLE_JIT], [ case "x$enable_jit" in xy*) enable_jit=yes ;; xn*) enable_jit=no ;; - xa* | x) enable_jit=$JIT_AVAILABLE ;; + xa* | x) + # For the time being, only enable JIT on x86-64. + case "$target_cpu" in + x86_64|amd64) enable_jit=yes ;; + *) enable_jit=no ;; + esac *) AC_MSG_ERROR(bad value $enable_jit for --enable-jit) ;; esac AC_MSG_RESULT($enable_jit) |