Skip to content

Commit 5106500

Browse files
committed
truffle: Simplify layout definitions with <multitarget_libc_selection> substitution
1 parent ce88842 commit 5106500

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

truffle/mx.truffle/suite.py

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,18 +1969,8 @@
19691969
"windows-amd64",
19701970
"windows-aarch64",
19711971
],
1972-
"os": {
1973-
"linux": {
1974-
"layout": {
1975-
# only glibc.
1976-
"META-INF/resources/nfi-native/libnfi/<os>/<arch>/bin/" : "dependency:com.oracle.truffle.nfi.native/linux-*/glibc/*"
1977-
},
1978-
},
1979-
"<others>": {
1980-
"layout": {
1981-
"META-INF/resources/nfi-native/libnfi/<os>/<arch>/bin/" : "dependency:com.oracle.truffle.nfi.native/*/*/*",
1982-
},
1983-
},
1972+
"layout": {
1973+
"META-INF/resources/nfi-native/libnfi/<os>/<arch>/bin/" : "dependency:com.oracle.truffle.nfi.native/*/<multitarget_libc_selection>/*",
19841974
},
19851975
"description" : "Contains the native library needed by the libffi NFI backend.",
19861976
"maven": False,
@@ -2326,18 +2316,8 @@
23262316
"native" : True,
23272317
"platformDependent" : True,
23282318
"description" : "Truffle NFI support distribution for the GraalVM",
2329-
"os": {
2330-
"linux": {
2331-
"layout": {
2332-
# only glibc.
2333-
"./" : "dependency:com.oracle.truffle.nfi.native/linux-*/glibc/*"
2334-
},
2335-
},
2336-
"<others>": {
2337-
"layout": {
2338-
"./" : "dependency:com.oracle.truffle.nfi.native/*/*/*",
2339-
},
2340-
},
2319+
"layout": {
2320+
"./" : "dependency:com.oracle.truffle.nfi.native/*/<multitarget_libc_selection>/*",
23412321
},
23422322
"maven" : False,
23432323
"graalCompilerSourceEdition": "ignore",

0 commit comments

Comments
 (0)