Files
MX_Pmodule/crystfel/pyproject.toml
T
duan_jandClaude Fable 5.1 9dea762f97 crystfel: bundle HDF5 1.14.6, meson/ninja via uv lock (py3.12), add 0.13.0-rh9
Ra build node has no hdf5-devel/h5cc/hdf5.pc, so meson setup died with
'Dependency "hdf5" not found'. Build now compiles HDF5 (autotools, libdir
lib64 to match crystfel's $ORIGIN/../lib64 RPATH) into $PREFIX and lets
meson find it via $PREFIX/bin/h5cc. meson/ninja come from pyproject.toml +
uv.lock synced into a scratch venv on uv-managed Python 3.12 (system
python 3.9 is EOL for meson >= 1.12).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-27 11:09:58 +01:00

17 lines
642 B
TOML

# Build-time only: meson + ninja for ./build. Ra's system meson is too old for
# meson.build (>= 0.60) and its system python is 3.9 (EOL; meson >= 1.12 needs
# >= 3.10), so the build syncs these into a throwaway venv on a uv-managed
# Python 3.12. Nothing from here ends up in $PREFIX.
# After editing: `uv lock` and commit uv.lock (the build runs `uv sync --locked`).
[project]
name = "crystfel-build"
version = "0"
requires-python = "==3.12.*"
dependencies = [
"meson>=1.3", # fs.relative_to() -> $ORIGIN/../lib64 RPATH in crystfel's meson.build
"ninja",
]
[tool.uv]
package = false # no package in this dir, only the deps above