|
868 | 868 | "os_arch": { |
869 | 869 | "windows": { |
870 | 870 | "<others>": { |
871 | | - "buildDependencies": [ |
872 | | - "com.oracle.graal.python.cext", |
873 | | - "com.oracle.graal.python.jni", |
874 | | - "com.oracle.graal.python.hpy.llvm" |
875 | | - ], |
876 | 871 | "layout": { |
877 | | - "./": [ |
| 872 | + "<os>/<arch>/": [ |
878 | 873 | "dependency:com.oracle.graal.python.jni/*", |
879 | 874 | "dependency:com.oracle.graal.python.cext/bin/*", |
880 | 875 | "dependency:com.oracle.graal.python.hpy.llvm/bin/*", |
|
884 | 879 | }, |
885 | 880 | "<others>": { |
886 | 881 | "<others>": { |
887 | | - "buildDependencies": [ |
888 | | - "com.oracle.graal.python.cext", |
889 | | - "com.oracle.graal.python.jni", |
890 | | - "python-libzsupport", |
891 | | - "python-libposix", |
892 | | - "python-libbz2", |
893 | | - "python-liblzma", |
894 | | - "com.oracle.graal.python.hpy.llvm" |
895 | | - ], |
896 | 882 | "layout": { |
897 | | - "./": [ |
| 883 | + "<os>/<arch>/": [ |
898 | 884 | "dependency:com.oracle.graal.python.jni/*", |
899 | 885 | "dependency:com.oracle.graal.python.cext/bin/*", |
900 | 886 | "dependency:python-libzsupport/*", |
|
907 | 893 | }, |
908 | 894 | }, |
909 | 895 | }, |
| 896 | + "platforms": [ |
| 897 | + "linux-amd64", |
| 898 | + "linux-aarch64", |
| 899 | + "darwin-amd64", |
| 900 | + "darwin-aarch64", |
| 901 | + "windows-amd64", |
| 902 | + ], |
910 | 903 | "description": "Contains the JNI native lib, the C API and support libs.", |
911 | 904 | "maven": False, |
912 | 905 | }, |
|
1147 | 1140 | "fileListEntry": "META-INF/resources/include.files", |
1148 | 1141 | "type": "dir", |
1149 | 1142 | "description": "GraalVM Python header resources", |
1150 | | - "buildDependencies": [ |
1151 | | - "GRAALPYTHON_NATIVE_LIBS", |
1152 | | - "com.oracle.graal.python.cext", |
1153 | | - "com.oracle.graal.python.hpy.llvm", |
1154 | | - ], |
1155 | 1143 | "layout": { |
1156 | 1144 | "./META-INF/resources/include/": [ |
1157 | 1145 | "file:graalpython/com.oracle.graal.python.cext/include/*", |
|
1171 | 1159 | "fileListEntry": "META-INF/resources/<os>/<arch>/native.files", |
1172 | 1160 | "type": "dir", |
1173 | 1161 | "description": "GraalVM Python platform dependent resources", |
1174 | | - "buildDependencies": [ |
1175 | | - "GRAALPYTHON_NATIVE_LIBS", |
1176 | | - "com.oracle.graal.python.cext", |
1177 | | - "com.oracle.graal.python.hpy.llvm" |
1178 | | - ], |
1179 | 1162 | "os_arch": { |
1180 | 1163 | "windows": { |
1181 | 1164 | "<others>": { |
1182 | 1165 | "layout": { |
1183 | 1166 | "./META-INF/resources/<os>/<arch>/libs/": [ |
1184 | | - "dependency:GRAALPYTHON_NATIVE_LIBS/python-native.lib", |
| 1167 | + "dependency:GRAALPYTHON_NATIVE_LIBS/<os>/<arch>/python-native.lib", |
1185 | 1168 | ], |
1186 | 1169 | "./META-INF/resources/<os>/<arch>/lib-graalpython/": [ |
1187 | 1170 | { |
1188 | 1171 | "source_type": "dependency", |
1189 | 1172 | "dependency": "GRAALPYTHON_NATIVE_LIBS", |
1190 | | - "path": "*", |
| 1173 | + "path": "<os>/<arch>/*", |
1191 | 1174 | "exclude": ["python-native.lib"], |
1192 | 1175 | }, |
1193 | 1176 | ], |
|
1198 | 1181 | "<others>": { |
1199 | 1182 | "layout": { |
1200 | 1183 | "./META-INF/resources/<os>/<arch>/lib/graalpy<graal_ver:major_minor>/": [ |
1201 | | - "dependency:GRAALPYTHON_NATIVE_LIBS/*", |
| 1184 | + "dependency:GRAALPYTHON_NATIVE_LIBS/<os>/<arch>/*", |
1202 | 1185 | ], |
1203 | 1186 | }, |
1204 | 1187 | }, |
1205 | 1188 | }, |
1206 | 1189 | }, |
| 1190 | + "platforms": [ |
| 1191 | + "linux-amd64", |
| 1192 | + "linux-aarch64", |
| 1193 | + "darwin-amd64", |
| 1194 | + "darwin-aarch64", |
| 1195 | + "windows-amd64", |
| 1196 | + ], |
1207 | 1197 | "maven": False, |
1208 | 1198 | }, |
1209 | 1199 |
|
|
1223 | 1213 | "darwin-aarch64", |
1224 | 1214 | "windows-amd64", |
1225 | 1215 | ], |
1226 | | - "buildDependencies": [ |
1227 | | - "GRAALPYTHON_LIBPYTHON_RESOURCES", |
1228 | | - "GRAALPYTHON_LIBGRAALPY_RESOURCES", |
1229 | | - "GRAALPYTHON_NI_RESOURCES", |
1230 | | - "GRAALPYTHON_INCLUDE_RESOURCES", |
1231 | | - "GRAALPYTHON_NATIVE_RESOURCES", |
1232 | | - ], |
1233 | 1216 | "os_arch": { |
1234 | 1217 | "windows": { |
1235 | 1218 | "<others>": { |
|
0 commit comments