Skip to content

Commit 3b13ff3

Browse files
committed
pass the flag to configure
1 parent 8182c1e commit 3b13ff3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyperformance/compile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ def compile(self):
295295
config_args.append("--with-lto")
296296
if self.conf.jit:
297297
config_args.append(f"--enable-experimental-jit={self.conf.jit}")
298+
if self.conf.tail_call_interp:
299+
config_args.append("--with-tail-call-interp")
298300
if self.conf.pkg_only:
299301
config_args.extend(self.get_package_only_flags())
300302
if self.conf.debug:
@@ -830,6 +832,7 @@ def getint(section, key, default=None):
830832
conf.lto = getboolean("compile", "lto", True)
831833
conf.pgo = getboolean("compile", "pgo", True)
832834
conf.jit = getstr("compile", "jit", "")
835+
conf.tail_call_interp = getboolean("compile", "tail_call_interp", False)
833836
conf.install = getboolean("compile", "install", True)
834837
conf.pkg_only = getstr("compile", "pkg_only", "").split()
835838
try:

0 commit comments

Comments
 (0)