|
345 | 345 | # a bit ugly, we need the same dist dependencies as the full GRAALPYTHON dist + python-lib
|
346 | 346 | "com.oracle.graal.python",
|
347 | 347 | "GRAALPYTHON-LAUNCHER",
|
348 |
| - "GRAALPYTHON_JNI", |
| 348 | + "GRAALPYTHON_NATIVE_LIBS", |
349 | 349 | "truffle:TRUFFLE_API",
|
350 | 350 | "tools:TRUFFLE_COVERAGE",
|
351 | 351 | "tools:TRUFFLE_PROFILER",
|
|
770 | 770 | "description": "GraalPython launcher",
|
771 | 771 | },
|
772 | 772 |
|
773 |
| - "GRAALPYTHON_JNI" : { |
| 773 | + "GRAALPYTHON_NATIVE_LIBS" : { |
774 | 774 | "native": True,
|
775 | 775 | "platformDependent": True,
|
776 | 776 | "platforms": [
|
|
782 | 782 | "os_arch": {
|
783 | 783 | "windows": {
|
784 | 784 | "<others>": {
|
| 785 | + "dependencies": [ |
| 786 | + "com.oracle.graal.python.cext", |
| 787 | + "python-libzsupport", |
| 788 | + "python-libposix", |
| 789 | + "python-libbz2", |
| 790 | + "python-liblzma", |
| 791 | + "com.oracle.graal.python.hpy.llvm" |
| 792 | + ], |
785 | 793 | "layout": {
|
786 |
| - "./": "file:graalpython/com.oracle.graal.python.jni/JNI-WINDOWS-README.md", |
| 794 | + "./": [ |
| 795 | + "file:graalpython/com.oracle.graal.python.jni/JNI-WINDOWS-README.md", |
| 796 | + "dependency:com.oracle.graal.python.cext/bin/*", |
| 797 | + "dependency:python-libzsupport/*", |
| 798 | + "dependency:python-libposix/*", |
| 799 | + "dependency:com.oracle.graal.python.hpy.llvm/bin/*", |
| 800 | + "dependency:python-libbz2/bin/*", |
| 801 | + "dependency:python-liblzma/bin/*" |
| 802 | + ] |
787 | 803 | },
|
788 | 804 | },
|
789 | 805 | },
|
790 | 806 | "<others>": {
|
791 | 807 | "<others>": {
|
792 | 808 | "dependencies": [
|
| 809 | + "com.oracle.graal.python.cext", |
793 | 810 | "com.oracle.graal.python.jni",
|
| 811 | + "python-libzsupport", |
| 812 | + "python-libposix", |
| 813 | + "python-libbz2", |
| 814 | + "python-liblzma", |
| 815 | + "com.oracle.graal.python.hpy.llvm" |
794 | 816 | ],
|
795 | 817 | "layout": {
|
796 |
| - "./": { |
797 |
| - "source_type": "dependency", |
798 |
| - "dependency": "com.oracle.graal.python.jni", |
799 |
| - "path": "*", |
800 |
| - "exclude": ["JNI-WINDOWS-README.md"], |
801 |
| - }, |
| 818 | + "./": [ |
| 819 | + { |
| 820 | + "source_type": "dependency", |
| 821 | + "dependency": "com.oracle.graal.python.jni", |
| 822 | + "path": "*", |
| 823 | + "exclude": ["JNI-WINDOWS-README.md"], |
| 824 | + }, |
| 825 | + "dependency:com.oracle.graal.python.cext/bin/*", |
| 826 | + "dependency:python-libzsupport/*", |
| 827 | + "dependency:python-libposix/*", |
| 828 | + "dependency:com.oracle.graal.python.hpy.llvm/bin/*", |
| 829 | + "dependency:python-libbz2/bin/*", |
| 830 | + "dependency:python-liblzma/bin/*", |
| 831 | + ] |
802 | 832 | },
|
803 | 833 | },
|
804 | 834 | },
|
805 | 835 | },
|
806 |
| - "description": "Contains the native library needed by HPy JNI backend.", |
| 836 | + "description": "Contains the JNI native lib, the C API and support libs.", |
807 | 837 | "maven": True,
|
808 | 838 | },
|
809 | 839 |
|
|
825 | 855 | ],
|
826 | 856 | "distDependencies": [
|
827 | 857 | "GRAALPYTHON-LAUNCHER",
|
828 |
| - "GRAALPYTHON_JNI", |
| 858 | + "GRAALPYTHON_NATIVE_LIBS", |
829 | 859 | "truffle:TRUFFLE_API",
|
830 | 860 | "tools:TRUFFLE_COVERAGE",
|
831 | 861 | "tools:TRUFFLE_PROFILER",
|
|
909 | 939 | "fileListPurpose": 'native-image-resources',
|
910 | 940 | "description": "GraalVM Python support distribution for the GraalVM",
|
911 | 941 | "distDependencies": [
|
912 |
| - "GRAALPYTHON_JNI", |
| 942 | + "GRAALPYTHON_NATIVE_LIBS", |
913 | 943 | ],
|
914 | 944 | "dependencies": [
|
915 | 945 | "com.oracle.graal.python.cext",
|
916 |
| - "python-libzsupport", |
917 |
| - "python-libposix", |
918 |
| - "python-libbz2", |
919 |
| - "python-liblzma", |
920 | 946 | "com.oracle.graal.python.hpy.llvm"
|
921 | 947 | ],
|
922 | 948 | "os_arch": {
|
|
931 | 957 | ],
|
932 | 958 | "./lib-graalpython/": [
|
933 | 959 | "file:graalpython/lib-graalpython/*",
|
934 |
| - "extracted-dependency:GRAALPYTHON_JNI/*", |
935 |
| - { |
936 |
| - "source_type": "dependency", |
937 |
| - "dependency": "graalpython:python-libzsupport", |
938 |
| - "path": "*", |
939 |
| - }, |
940 |
| - { |
941 |
| - "source_type": "dependency", |
942 |
| - "dependency": "graalpython:python-libposix", |
943 |
| - "path": "*", |
944 |
| - }, |
945 |
| - "dependency:com.oracle.graal.python.hpy.llvm/bin/*", |
946 |
| - "dependency:com.oracle.graal.python.cext/bin/*", |
| 960 | + "extracted-dependency:GRAALPYTHON_NATIVE_LIBS/*", |
947 | 961 | "file:com.oracle.graal.python.cext/CEXT-WINDOWS-README.md",
|
948 | 962 | ],
|
949 |
| - "./lib-graalpython/modules/": [ |
950 |
| - "dependency:com.oracle.graal.python.cext/bin/modules/*", |
951 |
| - ], |
952 | 963 | "./lib-graalpython/modules/graalpy_virtualenv": [
|
953 | 964 | "file:graalpy_virtualenv/graalpy_virtualenv",
|
954 | 965 | ],
|
|
970 | 981 | ],
|
971 | 982 | "./lib/graalpy<graal_ver:major_minor>/": [
|
972 | 983 | "file:graalpython/lib-graalpython/*",
|
973 |
| - "extracted-dependency:GRAALPYTHON_JNI/*", |
974 |
| - "dependency:com.oracle.graal.python.cext/bin/*", |
975 |
| - { |
976 |
| - "source_type": "dependency", |
977 |
| - "dependency": "graalpython:python-libzsupport", |
978 |
| - "path": "*", |
979 |
| - }, |
980 |
| - { |
981 |
| - "source_type": "dependency", |
982 |
| - "dependency": "graalpython:python-libposix", |
983 |
| - "path": "*", |
984 |
| - }, |
985 |
| - "dependency:com.oracle.graal.python.hpy.llvm/bin/*", |
986 |
| - "dependency:python-libbz2/bin/*", |
987 |
| - "dependency:python-liblzma/bin/*", |
988 |
| - ], |
989 |
| - "./lib/graalpy<graal_ver:major_minor>/modules/": [ |
990 |
| - "dependency:com.oracle.graal.python.cext/bin/modules/*", |
| 984 | + "extracted-dependency:GRAALPYTHON_NATIVE_LIBS/*", |
991 | 985 | ],
|
992 | 986 | "./lib/graalpy<graal_ver:major_minor>/modules/graalpy_virtualenv": [
|
993 | 987 | "file:graalpy_virtualenv/graalpy_virtualenv",
|
|
0 commit comments