Files
SimurgArray/packaging/conda/simurg-core/meta.yaml
T
kemal 349be7a43c P10 (WIP): release build script, Dockerfile, conda recipes, fresh-VM acceptance task
scripts/build_dist.sh: sdist + pure wheel + manylinux_2_28 kernel wheels (maturin --zig,
both architectures). Dockerfile (multi-stage, kernels included, non-root user).
packaging/conda/{simurg,simurg-core}. scripts/p10/digest.py: platform-independent content
digests of GTC/VCF/summary outputs. Cloud task p10 installs the artifacts on a fresh
Ubuntu VM and runs the tutorial with pip, Docker and conda installs. trial.sh picks the
arm64/amd64 image from the instance type and can run instances in parallel (PARALLEL=1).
Licence files ship in both wheels; Rust crate notices added.
2026-09-28 22:41:56 +01:00

41 lines
989 B
YAML

# conda recipe for the optional compiled kernels of SimurgArray (Rust, PyO3; abi3 for Python >= 3.12).
# conda build packaging/conda/simurg-core -c conda-forge
{% set version = load_file_regex(load_file="Cargo.toml", regex_pattern='version = "([^"]+)"', from_recipe_dir=False).group(1) %}
package:
name: simurg-core
version: {{ version }}
source:
path: ../../../rust/simurg-core
build:
number: 0
skip: true # [win]
script: {{ PYTHON }} -m pip install . --no-deps -vv
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('rust') }}
host:
- python >=3.12
- pip
- maturin >=1.7,<2
run:
- python >=3.12
- numpy >=1.26
test:
imports:
- simurg_core
commands:
- python -c "import simurg_core, numpy as np; assert simurg_core.log10(np.array([0.0]))[0] == -np.inf"
about:
summary: Optional compiled kernels of SimurgArray (results identical to the pure-Python paths)
license: MIT
license_file:
- LICENSE
- NOTICE