def get_launcher_configs(self): return [ mx_sdk_vm.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() ]
def get_launcher_configs(self): return [ mx_sdk_vm.LauncherConfig( destination=os.path.join(self.name, 'bin', self._tool_to_bin(tool)), jar_distributions=self._get_jar_dists(), main_class=self._tool_to_main(tool), build_args=[ '--initialize-at-build-time=com.oracle.truffle.llvm.toolchain.launchers', '-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() ]
suite=_suite, name='Component installer', short_name='gu', dir_name='installer', license_files=[], third_party_license_files=[], dependencies=['sdk'], jar_distributions=['vm:INSTALLER', 'truffle:TruffleJSON'], support_distributions=['vm:INSTALLER_GRAALVM_SUPPORT'], launcher_configs=[ mx_sdk_vm.LauncherConfig( destination="bin/<exe:gu>", jar_distributions=['vm:INSTALLER', 'truffle:TruffleJSON'], dir_jars=True, main_class="org.graalvm.component.installer.ComponentInstaller", build_args=[], # Please see META-INF/native-image in the project for custom build options for native-image is_sdk_launcher=True, custom_launcher_script="mx.vm/gu.cmd" if mx.is_windows() else None, ), ], )) mx_sdk_vm.register_graalvm_component( mx_sdk_vm.GraalVmComponent( suite=_suite, name='GraalVM license files', short_name='gvm', dir_name='.', license_files=['LICENSE.txt'],
suite=_suite, name='Component installer', short_name='gu', dir_name='installer', license_files=[], third_party_license_files=[], dependencies=['sdk'], jar_distributions=['vm:INSTALLER'], support_distributions=['vm:INSTALLER_GRAALVM_SUPPORT'], launcher_configs=[ mx_sdk_vm.LauncherConfig( destination="bin/<exe:gu>", jar_distributions=['vm:INSTALLER'], dir_jars=True, main_class="org.graalvm.component.installer.ComponentInstaller", build_args=[], # Please see META-INF/native-image in the project for custom build options for native-image is_sdk_launcher=True, custom_launcher_script="mx.vm/gu.cmd" if mx.is_windows() else None, ), ], )) mx_sdk_vm.register_graalvm_component( mx_sdk_vm.GraalVmComponent( suite=_suite, name='GraalVM license files', short_name='gvm', dir_name='.', license_files=['LICENSE.txt'],