feat: add manifest-driven batch rebuild, numpy cross-compilation, and CI pipeline updates
Some checks failed
EcoArk Wheel Pipeline CI / build (push) Failing after 1m41s
Some checks failed
EcoArk Wheel Pipeline CI / build (push) Failing after 1m41s
- Add pipeline/manifest.py for packages.txt parsing - Implement real numpy cross-compilation (rebuild.py) with OHOS NDK + vendored meson - Extend CLI with --manifest, --build-from-source, --stage-integration modes - Add recipes/, experiments/, and scripts/ for integration staging and artifact upload - Update CI workflow with manifest validation, artifact upload, and release publishing - Update Makefile and README with new targets and documentation
This commit is contained in:
31
recipes/numpy_integration_manifest.json
Normal file
31
recipes/numpy_integration_manifest.json
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"pkg": "numpy",
|
||||
"version": "1.26.4",
|
||||
"description": "Integration staging recipe for numpy native .so modules into EcoArk pythonrunner main-so linking",
|
||||
"staging": {
|
||||
"source_wheel": "output/wheels/numpy-1.26.4-cp312-cp312-harmonyos_arm64.whl",
|
||||
"output_dir": "output/integration/numpy"
|
||||
},
|
||||
"modules": [
|
||||
{"so": "numpy/core/_multiarray_umath.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_multiarray_umath.so"},
|
||||
{"so": "numpy/core/_multiarray_tests.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_multiarray_tests.so"},
|
||||
{"so": "numpy/core/_simd.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_simd.so"},
|
||||
{"so": "numpy/core/_operand_flag_tests.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_operand_flag_tests.so"},
|
||||
{"so": "numpy/core/_struct_ufunc_tests.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_struct_ufunc_tests.so"},
|
||||
{"so": "numpy/core/_rational_tests.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_rational_tests.so"},
|
||||
{"so": "numpy/core/_umath_tests.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/core/_umath_tests.so"},
|
||||
{"so": "numpy/fft/_pocketfft_internal.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/fft/_pocketfft_internal.so"},
|
||||
{"so": "numpy/linalg/_umath_linalg.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/linalg/_umath_linalg.so"},
|
||||
{"so": "numpy/linalg/lapack_lite.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/linalg/lapack_lite.so"},
|
||||
{"so": "numpy/random/_generator.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_generator.so"},
|
||||
{"so": "numpy/random/mtrand.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/mtrand.so"},
|
||||
{"so": "numpy/random/_common.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_common.so"},
|
||||
{"so": "numpy/random/_bounded_integers.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_bounded_integers.so"},
|
||||
{"so": "numpy/random/bit_generator.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/bit_generator.so"},
|
||||
{"so": "numpy/random/_sfc64.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_sfc64.so"},
|
||||
{"so": "numpy/random/_pcg64.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_pcg64.so"},
|
||||
{"so": "numpy/random/_philox.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_philox.so"},
|
||||
{"so": "numpy/random/_mt19937.cpython-312-arm64-linux-ohos.so", "dest_rel": "numpy/random/_mt19937.so"}
|
||||
],
|
||||
"ecoark_target_hint": "Copy each .so into EcoArk pythonrunner's native module tree (e.g. lib/python3.12/site-packages/numpy/) so that import numpy works with main-so linking."
|
||||
}
|
||||
Reference in New Issue
Block a user