Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pass the flag to configure
  • Loading branch information
maurycy committed Apr 7, 2026
commit 3b13ff30f593310b49d101b3c38e605d99e24aaa
3 changes: 3 additions & 0 deletions pyperformance/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ def compile(self):
config_args.append("--with-lto")
if self.conf.jit:
config_args.append(f"--enable-experimental-jit={self.conf.jit}")
if self.conf.tail_call_interp:
config_args.append("--with-tail-call-interp")
if self.conf.pkg_only:
config_args.extend(self.get_package_only_flags())
if self.conf.debug:
Expand Down Expand Up @@ -830,6 +832,7 @@ def getint(section, key, default=None):
conf.lto = getboolean("compile", "lto", True)
conf.pgo = getboolean("compile", "pgo", True)
conf.jit = getstr("compile", "jit", "")
conf.tail_call_interp = getboolean("compile", "tail_call_interp", False)
conf.install = getboolean("compile", "install", True)
conf.pkg_only = getstr("compile", "pkg_only", "").split()
try:
Expand Down
Loading