Enable YJIT by default
This commit is contained in:
parent
2ef85c12fb
commit
338b9c2064
Notes:
git
2025-04-18 13:47:36 +00:00
26
configure.ac
26
configure.ac
@ -3897,19 +3897,6 @@ AS_IF([test "$cross_compiling" = no],
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
dnl build YJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
|
|
||||||
AC_ARG_ENABLE(yjit,
|
|
||||||
AS_HELP_STRING([--enable-yjit],
|
|
||||||
[enable in-process JIT compiler that requires Rust build tools. enabled by default on supported platforms if rustc 1.58.0+ is available]),
|
|
||||||
[YJIT_SUPPORT=$enableval],
|
|
||||||
[AS_CASE(["$JIT_TARGET_OK:$JIT_RUSTC_OK:$ZJIT_SUPPORT"],
|
|
||||||
[yes:yes:no], [
|
|
||||||
YJIT_SUPPORT=yes
|
|
||||||
],
|
|
||||||
[YJIT_SUPPORT=no]
|
|
||||||
)]
|
|
||||||
)
|
|
||||||
|
|
||||||
dnl build ZJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
|
dnl build ZJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
|
||||||
AC_ARG_ENABLE(zjit,
|
AC_ARG_ENABLE(zjit,
|
||||||
AS_HELP_STRING([--enable-zjit],
|
AS_HELP_STRING([--enable-zjit],
|
||||||
@ -3923,6 +3910,19 @@ AC_ARG_ENABLE(zjit,
|
|||||||
)]
|
)]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
dnl build YJIT in release mode if rustc >= 1.58.0 is present and we are on a supported platform
|
||||||
|
AC_ARG_ENABLE(yjit,
|
||||||
|
AS_HELP_STRING([--enable-yjit],
|
||||||
|
[enable in-process JIT compiler that requires Rust build tools. enabled by default on supported platforms if rustc 1.58.0+ is available]),
|
||||||
|
[YJIT_SUPPORT=$enableval],
|
||||||
|
[AS_CASE(["$JIT_TARGET_OK:$JIT_RUSTC_OK:$ZJIT_SUPPORT"],
|
||||||
|
[yes:yes:no], [
|
||||||
|
YJIT_SUPPORT=yes
|
||||||
|
],
|
||||||
|
[YJIT_SUPPORT=no]
|
||||||
|
)]
|
||||||
|
)
|
||||||
|
|
||||||
CARGO=
|
CARGO=
|
||||||
CARGO_BUILD_ARGS=
|
CARGO_BUILD_ARGS=
|
||||||
YJIT_LIBS=
|
YJIT_LIBS=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user