Files
ecoarkpywhl/experiments/ohos-aarch64-cross.ini
root 553b83953c
Some checks failed
EcoArk Wheel Pipeline CI / build (push) Failing after 1m41s
feat: add manifest-driven batch rebuild, numpy cross-compilation, and CI pipeline updates
- 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
2026-05-13 14:16:24 +08:00

44 lines
1.9 KiB
INI

# Meson cross-compilation file for OHOS aarch64 (arm64-v8a)
#
# Usage:
# cd numpy-1.26.4
# meson setup build \
# --cross-file /path/to/ohos-aarch64-cross.ini \
# -Dallow-noblas=true \
# -Ddisable-threading=true \
# -Ddisable-optimization=true
#
# NOTE: numpy 1.26.x requires VENDORED meson (not system meson).
# Use: python3 vendored-meson/meson/meson.py setup ...
#
# Toolchain path (adjust as needed):
# /home/program/tools/command-line-tools/sdk/default/openharmony/native/llvm
#
# Sysroot:
# /home/program/tools/command-line-tools/sdk/default/openharmony/native/sysroot
[binaries]
c = '/home/program/tools/command-line-tools/sdk/default/openharmony/native/llvm/bin/clang'
cpp = '/home/program/tools/command-line-tools/sdk/default/openharmony/native/llvm/bin/clang++'
ar = '/home/program/tools/command-line-tools/sdk/default/openharmony/native/llvm/bin/llvm-ar'
strip = '/home/program/tools/command-line-tools/sdk/default/openharmony/native/llvm/bin/llvm-strip'
ld = '/home/program/tools/command-line-tools/sdk/default/openharmony/native/llvm/bin/ld.lld'
[built-in options]
c_args = ['--target=aarch64-linux-ohos', '--sysroot=/home/program/tools/command-line-tools/sdk/default/openharmony/native/sysroot', '-D__MUSL__']
c_link_args = ['--target=aarch64-linux-ohos', '--sysroot=/home/program/tools/command-line-tools/sdk/default/openharmony/native/sysroot']
cpp_args = ['--target=aarch64-linux-ohos', '--sysroot=/home/program/tools/command-line-tools/sdk/default/openharmony/native/sysroot', '-D__MUSL__']
cpp_link_args = ['--target=aarch64-linux-ohos', '--sysroot=/home/program/tools/command-line-tools/sdk/default/openharmony/native/sysroot']
[properties]
skip_sanity_check = true
allow-noblas = true
# aarch64-linux-ohos uses MUSL which defines IEEE quad (128-bit) long double
longdouble_format = 'IEEE_QUAD_LE'
[host_machine]
system = 'linux'
cpu_family = 'aarch64'
cpu = 'armv8-a'
endian = 'little'