def get_launcher_configs(self): return [ mx_sdk.LauncherConfig( destination=os.path.join(self.name, 'bin', self._tool_to_exe(tool)), jar_distributions=[self.suite.name + ":" + self.dist], main_class=self._tool_to_main(tool), build_args=[ '-H:-ParseRuntimeOptions', # we do not want `-D` options parsed by SVM ], is_main_launcher=False, default_symlinks=False, links=[os.path.join(self.name, 'bin', e) for e in self._tool_to_aliases(tool)[1:]], ) for tool in self._supported_tools() ]
name='SubstrateVM', short_name='svm', license_files=[], third_party_license_files=[], jar_distributions=['substratevm:LIBRARY_SUPPORT'], builder_jar_distributions=[ 'substratevm:SVM', 'substratevm:OBJECTFILE', 'substratevm:POINTSTO', ], support_distributions=['substratevm:SVM_GRAALVM_SUPPORT'], launcher_configs=[ mx_sdk.LauncherConfig( destination="bin/native-image", jar_distributions=["substratevm:SVM_DRIVER"], main_class="com.oracle.svm.driver.NativeImage", build_args=[ "-H:-ParseRuntimeOptions", ]) ], )) mx_sdk.register_graalvm_component( mx_sdk.GraalVmJreComponent( suite=suite, name='Polyglot.Native', short_name='polynative', dir_name='polyglot', license_files=[], third_party_license_files=[], jar_distributions=['substratevm:POLYGLOT_NATIVE_API'],
support_distributions=['substratevm:SVM_GRAALVM_SUPPORT'], )) mx_sdk.register_graalvm_component(mx_sdk.GraalVmJreComponent( suite=suite, name='Native Image', short_name='ni', dir_name='svm', installable_id='native-image', license_files=[], third_party_license_files=[], support_distributions=['substratevm:NATIVE_IMAGE_GRAALVM_SUPPORT'], launcher_configs=[ mx_sdk.LauncherConfig( destination="bin/<exe:native-image>", jar_distributions=["substratevm:SVM_DRIVER"], main_class="com.oracle.svm.driver.NativeImage", build_args=[], ), mx_sdk.LauncherConfig( destination="bin/<exe:native-image-configure>", jar_distributions=["substratevm:SVM_CONFIGURE"], main_class="com.oracle.svm.configure.ConfigurationTool", build_args=[ "-H:-ParseRuntimeOptions", ] ) ], library_configs=[ mx_sdk.LibraryConfig( destination="<lib:native-image-agent>", jvm_library=True,