Skip to content

Commit dc018a5

Browse files
committed
[GR-17917] Ensure that C API was built for benchmarks.
PullRequest: graalpython/646
2 parents 32c4009 + ec65657 commit dc018a5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,8 @@ def run(self, cwd, args):
277277
dists.append('SULONG')
278278
if mx.suite("sulong-managed", fatalIfMissing=False):
279279
dists.append('SULONG_MANAGED')
280-
extra_polyglot_args += ["--experimental-options"]
281-
else:
282-
extra_polyglot_args += ["--experimental-options"]
280+
281+
extra_polyglot_args += ["--experimental-options", "-ensure-capi"]
283282

284283
vm_args = mx.get_runtime_jvm_args(dists, cp_suffix=self._cp_suffix, cp_prefix=self._cp_prefix)
285284
if isinstance(self._extra_vm_args, list):

0 commit comments

Comments
 (0)