Skip to content

Commit 03f72a6

Browse files
committed
org.yarp -> org.prism
* Rename projects to make mx canonicalizeprojects happy. * Adapt native-image.properties.
1 parent 3055159 commit 03f72a6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

mx.truffleruby/suite.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138

139139
# ------------- Projects -------------
140140

141-
"org.yarp": {
141+
"org.prism": {
142142
"dir": "src/yarp",
143143
"sourceDirs": ["java"],
144144
"jniHeaders": True,
@@ -219,7 +219,7 @@
219219
"ldflags": ["-pthread"],
220220
},
221221

222-
"org.yarp.libyarp": {
222+
"org.prism.libyarp": {
223223
"class": "YARPNativeProject",
224224
"dir": "src/main/c/yarp",
225225
# "makeTarget": "all-no-debug", # Can use this to build without asserts
@@ -232,13 +232,13 @@
232232
"native": "shared_lib",
233233
"deliverable": "yarp",
234234
"buildDependencies": [
235-
"org.yarp.libyarp", # librubyparser.a
236-
"org.yarp", # for the generated JNI header file
235+
"org.prism.libyarp", # librubyparser.a
236+
"org.prism", # for the generated JNI header file
237237
],
238238
"use_jdk_headers": True, # the generated JNI header includes jni.h
239-
"cflags": ["-g", "-Wall", "-Werror", "-pthread", "-I<path:org.yarp.libyarp>/include"],
239+
"cflags": ["-g", "-Wall", "-Werror", "-pthread", "-I<path:org.prism.libyarp>/include"],
240240
"ldflags": ["-pthread"],
241-
"ldlibs": ["<path:org.yarp.libyarp>/build/librubyparser.a"],
241+
"ldlibs": ["<path:org.prism.libyarp>/build/librubyparser.a"],
242242
"description": "JNI bindings for YARP"
243243
},
244244

@@ -254,7 +254,7 @@
254254
],
255255
"dependencies": [
256256
# Projects
257-
"org.yarp",
257+
"org.prism",
258258
# Distributions, keep in sync with TRUFFLERUBY.distDependencies
259259
"truffleruby:TRUFFLERUBY-ANNOTATIONS",
260260
"truffleruby:TRUFFLERUBY-SHARED",

src/main/java/META-INF/native-image/org.graalvm.ruby/native-image.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Args = -H:MaxRuntimeCompileMethods=5400 \
44
-H:+AddAllCharsets \
5-
--initialize-at-build-time=org.truffleruby,org.jcodings,org.joni,org.yarp
5+
--initialize-at-build-time=org.truffleruby,org.jcodings,org.joni,org.prism

0 commit comments

Comments
 (0)