Skip to content

Commit b0c4ad9

Browse files
committed
Platform-dependent distributions store platform-specific files in platform-specific paths.
So that they can be composed to create multi-platform distributions. (cherry picked from commit cefe7a2)
1 parent 6e0d02c commit b0c4ad9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mx.graalpython/suite.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@
874874
"com.oracle.graal.python.hpy.llvm"
875875
],
876876
"layout": {
877-
"./": [
877+
"<os>/<arch>/": [
878878
"dependency:com.oracle.graal.python.jni/*",
879879
"dependency:com.oracle.graal.python.cext/bin/*",
880880
"dependency:com.oracle.graal.python.hpy.llvm/bin/*",
@@ -894,7 +894,7 @@
894894
"com.oracle.graal.python.hpy.llvm"
895895
],
896896
"layout": {
897-
"./": [
897+
"<os>/<arch>/": [
898898
"dependency:com.oracle.graal.python.jni/*",
899899
"dependency:com.oracle.graal.python.cext/bin/*",
900900
"dependency:python-libzsupport/*",
@@ -1188,13 +1188,13 @@
11881188
"<others>": {
11891189
"layout": {
11901190
"./META-INF/resources/<os>/<arch>/libs/": [
1191-
"dependency:GRAALPYTHON_NATIVE_LIBS/python-native.lib",
1191+
"dependency:GRAALPYTHON_NATIVE_LIBS/<os>/<arch>/python-native.lib",
11921192
],
11931193
"./META-INF/resources/<os>/<arch>/lib-graalpython/": [
11941194
{
11951195
"source_type": "dependency",
11961196
"dependency": "GRAALPYTHON_NATIVE_LIBS",
1197-
"path": "*",
1197+
"path": "<os>/<arch>/*",
11981198
"exclude": ["python-native.lib"],
11991199
},
12001200
],
@@ -1205,7 +1205,7 @@
12051205
"<others>": {
12061206
"layout": {
12071207
"./META-INF/resources/<os>/<arch>/lib/graalpy<graal_ver:major_minor>/": [
1208-
"dependency:GRAALPYTHON_NATIVE_LIBS/*",
1208+
"dependency:GRAALPYTHON_NATIVE_LIBS/<os>/<arch>/*",
12091209
],
12101210
},
12111211
},

0 commit comments

Comments
 (0)