Skip to content

Commit a654722

Browse files
committed
Fix mx polybench jdk is_native validation
1 parent 241a8a5 commit a654722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

truffle/mx.truffle/mx_polybench/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def _validate_jdk(run_spec: "PolybenchRunSpecification") -> mx.JDKConfig:
281281
'(or a GraalVM built from source, e.g., with "mx -p /vm --env ce build").'
282282
)
283283
if not mx_sdk.GraalVMJDKConfig.is_graalvm(jdk.home):
284-
if run_spec.is_native:
284+
if run_spec.is_native():
285285
mx.abort(
286286
f"Polybench was invoked with a non-Graal JDK ({jdk.home}), but a native image run was requested. "
287287
f"Re-run using a Graal JDK. " + rerun_details

0 commit comments

Comments
 (0)