Skip to content

Commit 3f4fabd

Browse files
committed
Deactivate perf support if the jit is set
1 parent 6d0d26e commit 3f4fabd

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

configure

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3728,7 +3728,14 @@ AS_CASE([$PLATFORM_TRIPLET],
37283728
[aarch64-linux-gnu], [perf_trampoline=yes],
37293729
[perf_trampoline=no]
37303730
)
3731-
AC_MSG_RESULT([$perf_trampoline])
3731+
3732+
dnl Disable perf trampoline if experimental JIT is enabled
3733+
AS_IF([test "x$enable_experimental_jit" != xno], [
3734+
perf_trampoline=no
3735+
AC_MSG_RESULT([disabled due to experimental JIT])
3736+
], [
3737+
AC_MSG_RESULT([$perf_trampoline])
3738+
])
37323739

37333740
AS_VAR_IF([perf_trampoline], [yes], [
37343741
AC_DEFINE([PY_HAVE_PERF_TRAMPOLINE], [1], [Define to 1 if you have the perf trampoline.])

0 commit comments

Comments
 (0)