mx_sdk.LanguageLauncherConfig( destination='bin/<exe:lli>', jar_distributions=['sulong:SULONG_LAUNCHER'], main_class='com.oracle.truffle.llvm.launcher.LLVMLauncher', build_args=[], language='llvm', ), ] + _suite.toolchain.get_launcher_configs())) mx_sdk.register_graalvm_component( mx_sdk.GraalVmJreComponent( suite=_suite, name='LLVM.org toolchain', short_name='llp', installable=True, installable_id='llvm-toolchain', dir_name='llvm', license_files=[], third_party_license_files=['3rd_party_license_llvm-toolchain.txt'], dependencies=[], support_distributions=['sulong:SULONG_LLVM_ORG'])) COPYRIGHT_HEADER_BSD = """\ /* * Copyright (c) 2016, 2019, Oracle and/or its affiliates. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: *
mx.run_maven(maven_args, cwd=proj_dir) mx_sdk.register_graalvm_component( mx_sdk.GraalVmJreComponent( suite=suite, 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,
maven_args += ['install'] else: maven_args += [ '-DaltDeploymentRepository={}::default::{}'.format(repo.name, repo.get_url(svmVersion)), 'deploy' ] mx.run_maven(maven_args, cwd=proj_dir) mx_sdk.register_graalvm_component(mx_sdk.GraalVmJreComponent( suite=suite, 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'], )) 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=[],
self.delegate.logBuild() self.delegate.build() def clean(self, forBuild=False): mx.rmtree(self.subject.out_dir, ignore_errors=True) mx_sdk.register_graalvm_component( mx_sdk.GraalVmJreComponent( suite=_suite, name='Truffle', short_name='tfl', dir_name='truffle', license_files=[], third_party_license_files=[], dependencies=['Graal SDK'], jar_distributions=[ 'truffle:TRUFFLE_DSL_PROCESSOR', 'truffle:TRUFFLE_TCK', ], jvmci_parent_jars=[ 'truffle:TRUFFLE_API', ], )) mx_sdk.register_graalvm_component( mx_sdk.GraalVMSvmMacro( suite=_suite, name='Truffle Macro', short_name='tflm', dir_name='truffle', license_files=[],
] mx.run_maven(maven_args, cwd=proj_dir) mx_sdk.register_graalvm_component(mx_sdk.GraalVmJreComponent( suite=suite, 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,