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.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01814GKVzZVL3FuF3DeiZXhv
This commit is contained in:
1 parent
ed4895516d
commit
92416397fe
13 files changed
+403
-5
No files matched your search
@@ -0,0 +1,40 @@
|
||||
# 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
|
||||
Reference in new issue
Block a user