Skip to content

Commit 84df9cb

Browse files
rschatzeregon
authored andcommitted
Add missing implementation of NativeImageBuildTask.newestOutput.
1 parent db74bf2 commit 84df9cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sdk/mx.sdk/mx_sdk_vm_ng.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2025, 2025, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# The Universal Permissive License (UPL), Version 1.0
@@ -402,6 +402,9 @@ def __init__(self, args, project: NativeImageProject):
402402
max_parallelism = 12
403403
super().__init__(project, args, min(max_parallelism, mx.cpu_count()))
404404

405+
def newestOutput(self):
406+
return mx.TimeStampFile.newest([_path for _path, _ in self.subject.getArchivableResults()])
407+
405408
def get_build_args(self):
406409
experimental_build_args = [
407410
'-H:+GenerateBuildArtifactsFile', # generate 'build-artifacts.json'

0 commit comments

Comments
 (0)