Skip to content

Commit

Permalink
[GR-55094] Remove PolyglotNativeAPI.
Browse files Browse the repository at this point in the history
PullRequest: graal/18263
  • Loading branch information
wirthi committed Jul 29, 2024
2 parents 4bee02a + 0a24bb3 commit e383e97
Show file tree
Hide file tree
Showing 39 changed files with 21 additions and 4,626 deletions.
20 changes: 0 additions & 20 deletions substratevm/mx.substratevm/mx_substratevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,26 +1378,6 @@ def _native_image_launcher_extra_jvm_args():
)
mx_sdk_vm.register_graalvm_component(truffle_runtime_svm)

mx_sdk_vm.register_graalvm_component(mx_sdk_vm.GraalVmJreComponent(
suite=suite,
name='Polyglot Native API',
short_name='polynative',
dir_name='polyglot',
license_files=[],
third_party_license_files=[],
dependencies=[],
jar_distributions=['substratevm:POLYGLOT_NATIVE_API'],
support_distributions=[
"substratevm:POLYGLOT_NATIVE_API_HEADERS",
],
polyglot_lib_jar_dependencies=[
"substratevm:POLYGLOT_NATIVE_API",
],
has_polyglot_lib_entrypoints=True,
stability="earlyadopter",
jlink=False,
))

mx_sdk_vm.register_graalvm_component(mx_sdk_vm.GraalVMSvmMacro(
suite=suite,
name='Native Image JUnit',
Expand Down
55 changes: 0 additions & 55 deletions substratevm/mx.substratevm/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1289,28 +1289,6 @@
"jacoco" : "exclude",
},

"org.graalvm.polyglot.nativeapi" : {
"subDir": "src",
"sourceDirs" : [
"src",
"resources",
],
"dependencies" : [
"sdk:POLYGLOT",
"sdk:NATIVEIMAGE",
"com.oracle.svm.hosted",
],
"checkstyle": "com.oracle.svm.core",
"javaCompliance" : "21+",
"annotationProcessors" : [
"compiler:GRAAL_PROCESSOR",
"SVM_PROCESSOR",
],
"workingSets" : "SVM",
"spotbugs": "false",
"jacoco" : "exclude",
},

"com.oracle.svm.graal.hotspot" : {
"subDir": "src",
"sourceDirs" : [
Expand Down Expand Up @@ -2260,39 +2238,6 @@
"testDistribution" : True,
},

"POLYGLOT_NATIVE_API" : {
"subDir": "src",
"dependencies": [
"org.graalvm.polyglot.nativeapi",
],
"distDependencies": [
"sdk:NATIVEIMAGE",
"sdk:POLYGLOT",
"SVM",
],
"moduleInfo" : {
"name" : "org.graalvm.polyglot.nativeapi",
"requires" : [
"org.graalvm.polyglot",
"org.graalvm.nativeimage",
"org.graalvm.nativeimage.builder",
],
},
"useModulePath": True,
"maven": False,
},

"POLYGLOT_NATIVE_API_HEADERS" : {
"native" : True,
"platformDependent" : True,
"description" : "polyglot.nativeapi header files for the GraalVM build process",
"layout" : {
"./" : [
"extracted-dependency:POLYGLOT_NATIVE_API/*.h",
],
},
},

"SVM_GRAALVM_SUPPORT" : {
"native" : True,
"platformDependent" : True,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e383e97

Please sign in to comment.