Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/ddr/module.xml
5986 views
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
Copyright (c) 2010, 2020 IBM Corp. and others
4
5
This program and the accompanying materials are made available under
6
the terms of the Eclipse Public License 2.0 which accompanies this
7
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
8
or the Apache License, Version 2.0 which accompanies this distribution and
9
is available at https://www.apache.org/licenses/LICENSE-2.0.
10
11
This Source Code may also be made available under the following
12
Secondary Licenses when the conditions for such availability set
13
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
14
General Public License, version 2 with the GNU Classpath
15
Exception [1] and GNU General Public License, version 2 with the
16
OpenJDK Assembly Exception [2].
17
18
[1] https://www.gnu.org/software/classpath/license.html
19
[2] http://openjdk.java.net/legal/assembly-exception.html
20
21
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
22
-->
23
<module>
24
25
<objects group="j9ddrgenapp">
26
<object name="copyright"/>
27
<object name="ddrmain"/>
28
<object name="ddrtable"/>
29
<object name="j9ddr"/>
30
<object name="sizeofBool"/>
31
</objects>
32
33
<artifact type="static" name="j9ddrautoblob">
34
<include-if condition="spec.flags.module_ddr"/>
35
<exclude-if condition="spec.flags.opt_useOmrDdr"/>
36
<phase>core j2se</phase>
37
<flags>
38
<flag name="UT_TRACE_OVERHEAD=0"/>
39
<flag name="$(TR_HOST)"/>
40
<flag name="TR_64Bit">
41
<include-if condition="spec.flags.J9VM_ENV_DATA64"/>
42
</flag>
43
<flag name="TR_HOST_64BIT">
44
<include-if condition="spec.flags.J9VM_ENV_DATA64"/>
45
</flag>
46
<flag name="TR_TARGET_64BIT">
47
<include-if condition="spec.flags.J9VM_ENV_DATA64"/>
48
</flag>
49
<flag name="TR_TARGET_32BIT">
50
<exclude-if condition="spec.flags.J9VM_ENV_DATA64"/>
51
</flag>
52
<flag name="TR_HOST_32BIT">
53
<exclude-if condition="spec.flags.J9VM_ENV_DATA64"/>
54
</flag>
55
<flag name="TR_TARGET_X86">
56
<include-if condition="spec.flags.module_jit_ia32"/>
57
</flag>
58
<flag name="TR_TARGET_ARM64">
59
<include-if condition="spec.flags.module_jit_aarch64"/>
60
</flag>
61
<flag name="TR_TARGET_POWER">
62
<include-if condition="spec.flags.module_jit_ppc"/>
63
</flag>
64
<flag name="TR_TARGET_RISCV">
65
<include-if condition="spec.flags.module_jit_riscv"/>
66
</flag>
67
<flag name="TR_TARGET_S390">
68
<include-if condition="spec.flags.module_jit_s390"/>
69
</flag>
70
</flags>
71
72
<includes>
73
<include path="omr/include_core" type="relativepath"/>
74
<include path="../rastrace" type="relativepath"/>
75
<include path="j9include"/>
76
<include path="j9oti"/>
77
<include path="j9gcinclude"/>
78
<include path="$(OMR_DIR)/gc/include" type="relativepath"/>
79
<include path="j9shrutil"/>
80
<include path="bcutil" type="relativepath"/>
81
<include path="shared_common" type="relativepath"/>
82
<include path="j9jvmti"/>
83
<include path="j9dmp"/>
84
<include path="j9trc"/>
85
<include path="j9util"/>
86
<include path="j9shrcommon"/>
87
<include path="jclcommon"/>
88
<include path="../jcl" type="relativepath"/>
89
<include path="bcverify"/>
90
<include path="../compiler/runtime" type="relativepath">
91
<include-if condition="spec.flags.J9VM_INTERP_NATIVE_SUPPORT"/>
92
</include>
93
<include path="../compiler" type="relativepath">
94
<include-if condition="spec.flags.J9VM_INTERP_NATIVE_SUPPORT"/>
95
</include>
96
<include path="$(OMR_DIR)/compiler" type="relativepath">
97
<include-if condition="spec.flags.J9VM_INTERP_NATIVE_SUPPORT"/>
98
</include>
99
<include path="$(OMR_DIR)/compiler/base" type="relativepath">
100
<include-if condition="spec.flags.J9VM_INTERP_NATIVE_SUPPORT"/>
101
</include>
102
<include path="$(OMR_DIR)/compiler/env" type="relativepath">
103
<include-if condition="spec.flags.J9VM_INTERP_NATIVE_SUPPORT"/>
104
</include>
105
<include path="$(OMR_DIR)/port" type="relativepath"/>
106
<include path="j9prt"/>
107
<include path="j9shr_include"/>
108
<include path="j9bcv"/>
109
<include path="j9vm"/>
110
</includes>
111
<makefilestubs>
112
<makefilestub data="UMA_TREAT_WARNINGS_AS_ERRORS=1"/>
113
<makefilestub data="UMA_DISABLE_DDRGEN=1"/>
114
<makefilestub data="include ddr_stubs.mk"/>
115
<makefilestub data="include ddr_cpp_headers.mk"/>
116
</makefilestubs>
117
<vpaths>
118
<vpath pattern="%" path="../dbgext" augmentIncludes="true" type="relativepath"/>
119
<vpath pattern="%" path="../bcutil" augmentIncludes="true" type="relativepath"/>
120
</vpaths>
121
<objects>
122
<object name="algorithm_versions"/>
123
<object name="ddrcppsupportblob"/>
124
<object name="jitddrblob"/>
125
<object name="jitflagsddr"/>
126
<object name="omrddrblob"/>
127
<object name="stackwalkddrblob"/>
128
<object name="vmddrblob"/>
129
</objects>
130
</artifact>
131
132
<artifact type="static" name="j9portautoblob">
133
<include-if condition="spec.flags.module_ddr"/>
134
<exclude-if condition="spec.flags.opt_useOmrDdr"/>
135
<phase>core j2se</phase>
136
<flags>
137
<flag name="$(TR_HOST)"/>
138
<flag name="TR_64Bit">
139
<include-if condition="spec.flags.J9VM_ENV_DATA64"/>
140
</flag>
141
<flag name="TR_HOST_64BIT">
142
<include-if condition="spec.flags.J9VM_ENV_DATA64"/>
143
</flag>
144
<flag name="TR_TARGET_64BIT">
145
<include-if condition="spec.flags.J9VM_ENV_DATA64"/>
146
</flag>
147
<flag name="TR_TARGET_32BIT">
148
<exclude-if condition="spec.flags.J9VM_ENV_DATA64"/>
149
</flag>
150
<flag name="TR_HOST_32BIT">
151
<exclude-if condition="spec.flags.J9VM_ENV_DATA64"/>
152
</flag>
153
<flag name="TR_TARGET_X86">
154
<include-if condition="spec.flags.module_jit_ia32"/>
155
</flag>
156
<flag name="TR_TARGET_ARM64">
157
<include-if condition="spec.flags.module_jit_aarch64"/>
158
</flag>
159
<flag name="TR_TARGET_POWER">
160
<include-if condition="spec.flags.module_jit_ppc"/>
161
</flag>
162
<flag name="TR_TARGET_RISCV">
163
<include-if condition="spec.flags.module_jit_riscv"/>
164
</flag>
165
<flag name="TR_TARGET_S390">
166
<include-if condition="spec.flags.module_jit_s390"/>
167
</flag>
168
<flag name="J9PORT_LIBRARY_DEFINE"/>
169
<flag name="OMRPORT_LIBRARY_DEFINE"/>
170
</flags>
171
<includes>
172
<include path="j9include"/>
173
<include path="j9oti"/>
174
<include path="$(OMR_DIR)/port" type="relativepath"/>
175
<include path="j9prt"/>
176
</includes>
177
<makefilestubs>
178
<makefilestub data="UMA_TREAT_WARNINGS_AS_ERRORS=1"/>
179
<makefilestub data="include ddr_stubs.mk"/>
180
</makefilestubs>
181
<vpaths>
182
<vpath pattern="%" path="$(OMR_DIR)/port/zos390" augmentIncludes="true" type="relativepath">
183
<include-if condition="spec.zos_390.*"/>
184
</vpath>
185
<vpath pattern="%" path="../port/zos390" augmentIncludes="true" type="relativepath">
186
<include-if condition="spec.zos_390.*"/>
187
</vpath>
188
189
<vpath pattern="%" path="$(OMR_DIR)/port/ztpf" augmentIncludes="true" type="relativepath">
190
<include-if condition="spec.linux_ztpf.*"/>
191
</vpath>
192
193
<vpath pattern="%" path="../port/ztpf" augmentIncludes="true" type="relativepath">
194
<include-if condition="spec.linux_ztpf.*"/>
195
</vpath>
196
197
<vpath pattern="%" path="$(OMR_DIR)/port/win64amd" augmentIncludes="true" type="relativepath">
198
<include-if condition="spec.win_x86-64.*"/>
199
</vpath>
200
201
<vpath pattern="%" path="$(OMR_DIR)/port/aix64" augmentIncludes="true" type="relativepath">
202
<include-if condition="spec.aix_ppc-64.*"/>
203
</vpath>
204
<vpath pattern="%" path="$(OMR_DIR)/port/aix" augmentIncludes="true" type="relativepath">
205
<include-if condition="spec.aix_ppc.*"/>
206
</vpath>
207
208
<vpath pattern="%" path="$(OMR_DIR)/port/linuxppc64" augmentIncludes="true" type="relativepath">
209
<include-if condition="spec.linux_ppc-64.*"/>
210
</vpath>
211
<vpath pattern="%" path="$(OMR_DIR)/port/linuxppc" augmentIncludes="true" type="relativepath">
212
<include-if condition="spec.linux_ppc.*"/>
213
</vpath>
214
215
<vpath pattern="%" path="$(OMR_DIR)/port/linuxamd64" augmentIncludes="true" type="relativepath">
216
<include-if condition="spec.linux_x86-64.*"/>
217
</vpath>
218
219
<vpath pattern="%" path="$(OMR_DIR)/port/linuxaarch64" augmentIncludes="true" type="relativepath">
220
<include-if condition="spec.linux_aarch64.*"/>
221
</vpath>
222
223
<vpath pattern="%" path="$(OMR_DIR)/port/linuxriscv64" augmentIncludes="true" type="relativepath">
224
<include-if condition="spec.linux_riscv64.*"/>
225
</vpath>
226
227
<vpath pattern="%" path="$(OMR_DIR)/port/linuxs39064" augmentIncludes="true" type="relativepath">
228
<include-if condition="spec.linux_390-64.*"/>
229
<include-if condition="spec.linux_ztpf.*"/>
230
</vpath>
231
<vpath pattern="%" path="$(OMR_DIR)/port/linuxs390" augmentIncludes="true" type="relativepath">
232
<include-if condition="spec.linux_390.*"/>
233
<include-if condition="spec.linux_ztpf.*"/>
234
</vpath>
235
236
<vpath pattern="%" path="$(OMR_DIR)/port/linux386" augmentIncludes="true" type="relativepath">
237
<include-if condition="spec.linux_x86.*"/>
238
</vpath>
239
240
<vpath pattern="%" path="$(OMR_DIR)/port/linux" augmentIncludes="true" type="relativepath">
241
<include-if condition="spec.linux.*"/>
242
</vpath>
243
244
<vpath pattern="%" path="../port/sysvipc" augmentIncludes="true" type="relativepath">
245
<exclude-if condition="spec.win_x86.*"/>
246
</vpath>
247
248
<vpath pattern="%" path="$(OMR_DIR)/port/unix_include" augmentIncludes="true" type="relativepath">
249
<exclude-if condition="spec.win_x86.*"/>
250
</vpath>
251
<vpath pattern="%" path="../port/unix_include" augmentIncludes="true" type="relativepath">
252
<exclude-if condition="spec.win_x86.*"/>
253
</vpath>
254
255
<vpath pattern="%" path="$(OMR_DIR)/port/unix" augmentIncludes="true" type="relativepath">
256
<exclude-if condition="spec.win_x86.*"/>
257
</vpath>
258
259
<vpath pattern="%" path="$(OMR_DIR)/port/win32_include" augmentIncludes="true" type="relativepath">
260
<include-if condition="spec.win_x86.*"/>
261
</vpath>
262
<vpath pattern="%" path="../port/win32_include" augmentIncludes="true" type="relativepath">
263
<include-if condition="spec.win_x86.*"/>
264
</vpath>
265
266
<vpath pattern="%" path="$(OMR_DIR)/port/win32" augmentIncludes="true" type="relativepath">
267
<include-if condition="spec.win_x86.*"/>
268
</vpath>
269
270
<vpath pattern="%" path="$(OMR_DIR)/port/common" augmentIncludes="true" type="relativepath"/>
271
<vpath pattern="%" path="j9prtcommon" augmentIncludes="true"/>
272
<vpath pattern="%" path="$(OMR_DIR)/port/include" augmentIncludes="true" type="relativepath"/>
273
<vpath pattern="%" path="../dbgext" augmentIncludes="true" type="relativepath"/>
274
</vpaths>
275
<objects>
276
<object name="j9portddrblob"/>
277
</objects>
278
</artifact>
279
280
<artifact type="executable" name="j9ddrgen">
281
<include-if condition="spec.flags.module_ddr"/>
282
<exclude-if condition="spec.flags.opt_useOmrDdr"/>
283
<options>
284
<option name="isCPlusPlus"/>
285
<option name="doesNotRequireCMAIN"/>
286
</options>
287
<phase>core j2se</phase>
288
<dependencies>
289
<dependency name="j9ddrautoblob"/>
290
</dependencies>
291
<includes>
292
<include path="j9include"/>
293
<include path="j9oti"/>
294
</includes>
295
<makefilestubs>
296
<makefilestub data="UMA_EXE_POSTFIX_FLAGS+=-static">
297
<include-if condition="spec.linux_arm.*"/>
298
<include-if condition="spec.linux_aarch64.* and spec.flags.env_crossbuild" />
299
</makefilestub>
300
<makefilestub data="UMA_TREAT_WARNINGS_AS_ERRORS=1"/>
301
<makefilestub data="include ddr_cpp_headers.mk"/>
302
</makefilestubs>
303
<objects>
304
<group name="j9ddrgenapp"/>
305
</objects>
306
<libraries>
307
<!--
308
Link the static OMR port library, without jsig.
309
This is needed to run j9ddrgen using the Linux ARM emulator,
310
but works for other platforms as well.
311
-->
312
<library name="j9prtstatic" type="external"/>
313
314
<library name="j9thrstatic" type="external">
315
<include-if condition="spec.linux_arm.*"/>
316
<include-if condition="spec.linux_aarch64.* and spec.flags.env_crossbuild" />
317
</library>
318
<library name="j9thr">
319
<exclude-if condition="spec.linux_arm.*"/>
320
<exclude-if condition="spec.linux_aarch64.* and spec.flags.env_crossbuild" />
321
</library>
322
<library name="j9portautoblob"/>
323
<library name="j9ddr_cppewautoblob"/>
324
<library name="j9hashtable" type="external"/>
325
<library name="j9avl" type="external"/>
326
<library name="j9pool" type="external"/>
327
<library name="j9exelib"/>
328
<library name="j9utilcore"/>
329
<library name="j9ddrautoblob"/>
330
<library name="j9gcautoblob"/>
331
<library name="omrsig">
332
<include-if condition="spec.flags.J9VM_PORT_OMRSIG_SUPPORT"/>
333
</library>
334
335
<!-- The following libs are needed to statically link the port library. -->
336
<library name="omrglue" type="external"/>
337
<library name="socket" type="macro"/>
338
<library name="iconv" type="system">
339
<include-if condition="spec.aix_.*"/>
340
</library>
341
<library name="perfstat" type="system">
342
<include-if condition="spec.aix_.*"/>
343
</library>
344
<library name="shell32.lib" type="system" delayload="true">
345
<include-if condition="spec.win_.*"/>
346
</library>
347
<library name="Iphlpapi.lib" type="system" delayload="true">
348
<include-if condition="spec.win_.*"/>
349
</library>
350
<library name="psapi.lib" type="system" delayload="true">
351
<include-if condition="spec.win_.*"/>
352
</library>
353
<library name="pdh.lib" type="system" delayload="true">
354
<include-if condition="spec.win_.*"/>
355
</library>
356
</libraries>
357
</artifact>
358
359
<artifact type="target" name="run_j9ddrgen">
360
<include-if condition="spec.flags.module_ddr"/>
361
<exclude-if condition="spec.flags.opt_useOmrDdr"/>
362
<phase>core j2se</phase>
363
<dependencies>
364
<dependency name="j9ddrgen"/>
365
</dependencies>
366
<commands>
367
<command line="cd $(UMA_PATH_TO_ROOT) &amp;&amp; ./j9ddrgen" type="all">
368
<exclude-if condition="spec.linux_arm.*"/>
369
<exclude-if condition="spec.linux_aarch64.* and spec.flags.env_crossbuild"/>
370
<exclude-if condition="spec.linux_ztpf.*"/>
371
</command>
372
<command line="cd $(UMA_PATH_TO_ROOT) &amp;&amp; qemu-arm -r '9' ./j9ddrgen" type="all">
373
<include-if condition="spec.linux_arm.*"/>
374
</command>
375
<command line="cd $(UMA_PATH_TO_ROOT) &amp;&amp; qemu-aarch64 -r '9' ./j9ddrgen" type="all">
376
<include-if condition="spec.linux_aarch64.* and spec.flags.env_crossbuild"/>
377
</command>
378
<command line="sleep 20;cd $(UMA_PATH_TO_ROOT); if [ -x ../build_j9ddrgen.sh ] &amp;&amp; [ ! -e ../j9ddrgen.completed ] ; then ../build_j9ddrgen.sh ; fi" type="all">
379
<include-if condition="spec.linux_ztpf.*"/>
380
</command>
381
</commands>
382
</artifact>
383
384
<artifact type="shared" name="j9ddr_misc">
385
<include-if condition="spec.flags.module_ddr and spec.flags.opt_useOmrDdr"/>
386
<phase>core</phase>
387
<!--
388
At least one symbol must be exported, but because this shared library
389
is only used by ddrgen it doesn't matter which name is exported.
390
-->
391
<exports>
392
<export name="getAlgorithmVersionStructTable" />
393
</exports>
394
<includes>
395
<include path="j9include"/>
396
<include path="j9oti"/>
397
<include path="j9gcbase"/>
398
<include path="$(OMR_DIR)/gc/base" type="relativepath"/>
399
<include path="$(OMR_DIR)/gc/base/segregated" type="relativepath"/>
400
<include path="j9modronstandard"/>
401
<include path="$(OMR_DIR)/gc/base/standard" type="relativepath"/>
402
<include path="j9gcstructs"/>
403
<include path="$(OMR_DIR)/gc/structs" type="relativepath"/>
404
<include path="j9gcstats"/>
405
<include path="$(OMR_DIR)/gc/stats" type="relativepath"/>
406
<include path="j9gcinclude"/>
407
<include path="$(OMR_DIR)/gc/include" type="relativepath"/>
408
<include path="j9modronstartup"/>
409
<include path="$(OMR_DIR)/gc/startup" type="relativepath"/>
410
<include path="j9gcgluejava"/>
411
<include path="j9realtime">
412
<include-if condition="spec.flags.J9VM_GC_REALTIME"/>
413
</include>
414
<include path="j9gcvlhgc"/>
415
<include path="$(OMR_DIR)/include_core" type="relativepath"/>
416
<include path="$(OMR_DIR)/compiler" type="relativepath">
417
<include-if condition="spec.flags.J9VM_INTERP_NATIVE_SUPPORT"/>
418
</include>
419
<include path="bcutil" type="rootpath"/>
420
<include path="j9shr_include"/>
421
</includes>
422
<makefilestubs>
423
<makefilestub data="CFLAGS += -femit-class-debug-always">
424
<include-if condition="spec.linux_390.*"/>
425
<include-if condition="spec.linux_aarch64.*"/>
426
<include-if condition="spec.linux_ppc.*_le"/>
427
<include-if condition="spec.linux_riscv64.*"/>
428
<include-if condition="spec.linux_x86.*"/>
429
</makefilestub>
430
<makefilestub data="CXXFLAGS += -femit-class-debug-always">
431
<include-if condition="spec.linux_390.*"/>
432
<include-if condition="spec.linux_aarch64.*"/>
433
<include-if condition="spec.linux_ppc.*_le"/>
434
<include-if condition="spec.linux_riscv64.*"/>
435
<include-if condition="spec.linux_x86.*"/>
436
</makefilestub>
437
<makefilestub data="UMA_DO_NOT_OPTIMIZE_CCODE = 1"/>
438
<makefilestub data="UMA_DLL_LINK_FLAGS += -bexpall">
439
<include-if condition="spec.aix_ppc.*"/>
440
</makefilestub>
441
</makefilestubs>
442
<objects>
443
<object name="algorithm_versions"/>
444
<object name="gcddr"/>
445
<object name="jitflagsddr"/>
446
<object name="omrddr"/>
447
<object name="types"/>
448
<object name="vmddr"/>
449
</objects>
450
</artifact>
451
452
</module>
453
454