Skip to content

Commit

Permalink
Update patched_native_image() for 24.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Oct 20, 2024
1 parent b07eef1 commit 62b17c6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mx.trufflesqueak/mx_trufflesqueak.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,9 @@ def patched_init(self, *args, **kw_args):
def _patch_svm_support_native_image():
native_image_original = mx_sdk_vm_impl.SvmSupport.native_image

def patched_native_image(
self, build_args, output_file, out=None, err=None, find_bad_strings=False
):
def patched_native_image(self, build_args, output_file, out=None, err=None):
if "smalltalkvm" not in output_file:
return native_image_original(
self, build_args, output_file, out, err, find_bad_strings
)
return native_image_original(self, build_args, output_file, out, err)
is_oracle_graalvm = False
extra_graalvm_home = os.getenv("EXTRA_GRAALVM_HOME")
if extra_graalvm_home:
Expand Down

0 comments on commit 62b17c6

Please sign in to comment.