Only enable JIT by default on x86-64
* acinclude.m4: Disable JIT by default on not-x86-64. Although I got JIT mostly working on 32-bit x86, I got nondeterministic segfaults deep in lightning, on that platform; perhaps indicating a bug in the optimizer. After a day of poking and not solving the problem, I think that I don't want the complexity of Lightning's node representation, especially on platforms that get less testing. In the future we'll use the lightning backends without the node layer. * NEWS: Update.
This commit is contained in:
parent
e08d10af67
commit
4aa4a6d590
2 changed files with 9 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue