summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--acinclude.m47
2 files changed, 9 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 9fb31b6ef..9a171b7fa 100644
--- a/NEWS
+++ b/NEWS
@@ -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)