8000 Clean up configure · python/cpython@53c35f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53c35f3

Browse files
committed
Clean up configure
1 parent 73ed82b commit 53c35f3

File tree

4 files changed

+20
-24
lines changed

4 files changed

+20
-24
lines changed

Include/internal/pycore_jit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern "C" {
66
#endif
77

88
#ifndef Py_BUILD_CORE
9-
# error "this header requires Py_BUILD_CORE define"
9+
#error "this header requires Py_BUILD_CORE define"
1010
#endif
1111

1212
#ifdef _Py_JIT

Tools/jit/template.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ _JIT_ENTRY(_PyInterpreterFrame *frame, PyObject **stack_pointer, PyThreadState *
9393
_PyFrame_SetStackPointer(frame, stack_pointer);
9494
return NULL;
9595
deoptimize:
96-
exit_trace:
9796
_PyFrame_SetStackPointer(frame, stack_pointer);
9897
return _PyCode_CODE(_PyFrame_GetCode(frame)) + _target;
9998
}

configure

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,25 +1581,23 @@ fi
15811581

15821582
# Check for --enable-experimental-jit:
15831583
AC_MSG_CHECKING([for --enable-experimental-jit])
1584-
AC_ARG_ENABLE(
1585-
[experimental-jit],
1586-
AS_HELP_STRING(
1587-
[--enable-experimental-jit],
1588-
[build the experimental just-in-time compiler (default is no)],
1589-
),
1590-
[],
1591-
[enable_experimental_jit=no],
1592-
)
1593-
AS_VAR_IF(
1594-
[enable_experimental_jit],
1595-
[no],
1596-
[],
1597-
[AS_VAR_APPEND([CFLAGS_NODIST], [" -D_Py_JIT"])
1598-
AS_VAR_SET([REGEN_JIT_COMMAND], ["\$(PYTHON_FOR_REGEN) \$(srcdir)/Tools/jit/build.py $host"])
1599-
AS_VAR_IF([Py_DEBUG], [true], [AS_VAR_APPEND([REGEN_JIT_COMMAND], [" --debug"])], [])]
1600-
)
1601-
AC_MSG_RESULT([$enable_experimental_jit])
1584+
AC_ARG_ENABLE([experimental-jit],
1585+
[AS_HELP_STRING([--enable-experimental-jit],
1586+
[build the experimental just-in-time compiler (default is no)])],
1587+
[],
1588+
[enable_experimental_jit=no])
1589+
AS_VAR_IF([enable_experimental_jit],
1590+
[no],
1591+
[],
1592+
[AS_VAR_APPEND([CFLAGS_NODIST], [" -D_Py_JIT"])
1593+
AS_VAR_SET([REGEN_JIT_COMMAND],
1594+
["\$(PYTHON_FOR_REGEN) \$(srcdir)/Tools/jit/build.py $host"])
1595+
AS_VAR_IF([Py_DEBUG],
1596+
[true],
1597+
[AS_VAR_APPEND([REGEN_JIT_COMMAND], [" --debug"])],
1598+
[])])
16021599
AC_SUBST([REGEN_JIT_COMMAND])
1600+
AC_MSG_RESULT([$enable_experimental_jit])
16031601

16041602
# Enable optimization flags
16051603
AC_SUBST([DEF_MAKE_ALL_RULE])

0 commit comments

Comments
 (0)
0