|
248 | 248 | "windows": {
|
249 | 249 | "<others>": {
|
250 | 250 | "cflags": ["-g", "-O3", "-Wall"],
|
| 251 | + "multitarget": { |
| 252 | + "libc": ["default"], |
| 253 | + }, |
251 | 254 | },
|
252 | 255 | },
|
253 | 256 | "linux-musl": {
|
254 | 257 | "<others>": {
|
255 | 258 | "cflags": ["-Wall", "-Werror", "-Wno-error=cpp"],
|
256 |
| - "toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN", |
| 259 | + "multitarget": { |
| 260 | + "libc": ["musl", "default"], |
| 261 | + "compiler": ["sulong-bitcode", "host", "*"] |
| 262 | + }, |
257 | 263 | },
|
258 | 264 | },
|
259 | 265 | "<others>": {
|
260 | 266 | "<others>": {
|
261 | 267 | "cflags": ["-Wall", "-Werror"],
|
262 |
| - "toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN", |
| 268 | + "multitarget": { |
| 269 | + "libc": ["glibc", "musl", "default"], |
| 270 | + "compiler": ["sulong-bitcode", "host", "*"] |
| 271 | + }, |
263 | 272 | },
|
264 | 273 | },
|
265 | 274 | },
|
|
312 | 321 | "-Wl,-current_version,1.0.0",
|
313 | 322 | "-Wl,-compatibility_version,1.0.0"
|
314 | 323 | ],
|
315 |
| - "toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN", |
| 324 | + "multitarget": { |
| 325 | + "compiler": ["sulong-bitcode", "host", "*"] |
| 326 | + }, |
316 | 327 | },
|
317 | 328 | },
|
318 | 329 | "linux": {
|
|
322 | 333 | "-Wl,-soname,libjvm.so",
|
323 | 334 | "-Wl,--version-script,<path:espresso:com.oracle.truffle.espresso.mokapot>/mapfile-vers",
|
324 | 335 | ],
|
325 |
| - "toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN", |
| 336 | + "multitarget": { |
| 337 | + "libc": ["glibc", "musl", "default"], |
| 338 | + "compiler": ["sulong-bitcode", "host", "*"] |
| 339 | + }, |
326 | 340 | },
|
327 | 341 | },
|
328 | 342 | "linux-musl": {
|
|
332 | 346 | "-Wl,-soname,libjvm.so",
|
333 | 347 | "-Wl,--version-script,<path:espresso:com.oracle.truffle.espresso.mokapot>/mapfile-vers",
|
334 | 348 | ],
|
335 |
| - "toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN", |
| 349 | + "multitarget": { |
| 350 | + "libc": ["musl", "default"], |
| 351 | + "compiler": ["sulong-bitcode", "host", "*"] |
| 352 | + }, |
336 | 353 | },
|
337 | 354 | },
|
338 | 355 | "windows": {
|
339 | 356 | "<others>": {
|
340 | 357 | "cflags": ["-g", "-O3", "-Wall"],
|
| 358 | + "multitarget": { |
| 359 | + "libc": ["default"], |
| 360 | + }, |
341 | 361 | },
|
342 | 362 | }
|
343 | 363 | },
|
|
558 | 578 | "dependency:espresso:ESPRESSO_STANDALONE_COMMON/*",
|
559 | 579 | ],
|
560 | 580 | "<jdk_lib_dir>/truffle/": [
|
561 |
| - "dependency:espresso:com.oracle.truffle.espresso.mokapot/<lib:jvm>", |
| 581 | + "dependency:espresso:com.oracle.truffle.espresso.mokapot/*/<multitarget_libc_selection>/<lib:jvm>", |
562 | 582 | ],
|
563 | 583 | "lib/jvm.cfg": {
|
564 | 584 | "source_type": "string",
|
|
621 | 641 | ],
|
622 | 642 | "languages/java/lib/": [
|
623 | 643 | # Copy of libjvm.so, accessible by Sulong via the default Truffle file system.
|
624 |
| - "dependency:espresso:com.oracle.truffle.espresso.mokapot/<lib:jvm>", |
| 644 | + "dependency:espresso:com.oracle.truffle.espresso.mokapot/*/<multitarget_libc_selection>/<lib:jvm>", |
625 | 645 | ],
|
626 | 646 | "languages/java/": [
|
627 | 647 | {
|
|
706 | 726 | "layout": {
|
707 | 727 | "META-INF/resources/java/espresso-libs/<os>/<arch>/lib/": [
|
708 | 728 | # Copy of libjvm.so, accessible by Sulong via the default Truffle file system.
|
709 |
| - "dependency:espresso:com.oracle.truffle.espresso.mokapot/<lib:jvm>", |
| 729 | + "dependency:espresso:com.oracle.truffle.espresso.mokapot/*/<multitarget_libc_selection>/<lib:jvm>", |
710 | 730 | ],
|
711 | 731 | "META-INF/resources/java/espresso-libs/<os>/<arch>/": "dependency:espresso:ESPRESSO_SUPPORT/*",
|
712 | 732 | },
|
|
751 | 771 | "platforms": "local",
|
752 | 772 | "layout": {
|
753 | 773 | "lib/": [
|
754 |
| - "dependency:espresso:com.oracle.truffle.espresso.native/<lib:nespresso>", |
| 774 | + "dependency:espresso:com.oracle.truffle.espresso.native/*/<multitarget_libc_selection>/<lib:nespresso>", |
755 | 775 | "dependency:espresso:ESPRESSO_POLYGLOT/*",
|
756 | 776 | "dependency:espresso:HOTSWAP/*",
|
757 | 777 | "dependency:espresso:CONTINUATIONS/*",
|
|
778 | 798 | "./": "dependency:espresso:ESPRESSO_SUPPORT/*",
|
779 | 799 | "lib/": [
|
780 | 800 | # Copy of libjvm.so, accessible by Sulong via the default Truffle file system.
|
781 |
| - "dependency:espresso:com.oracle.truffle.espresso.mokapot/<lib:jvm>", |
| 801 | + "dependency:espresso:com.oracle.truffle.espresso.mokapot/*/<multitarget_libc_selection>/<lib:jvm>", |
782 | 802 | ]
|
783 | 803 | },
|
784 | 804 | "maven": False,
|
|
790 | 810 | "platformDependent": True,
|
791 | 811 | "layout": {
|
792 | 812 | "truffle/": [
|
793 |
| - "dependency:espresso:com.oracle.truffle.espresso.mokapot/<lib:jvm>", |
| 813 | + "dependency:espresso:com.oracle.truffle.espresso.mokapot/*/<multitarget_libc_selection>/<lib:jvm>", |
794 | 814 | ],
|
795 | 815 | },
|
796 | 816 | "maven": False,
|
|
0 commit comments