Skip to content

drjit: Add version 1.5.0 - #2429

Merged
luhenry merged 2 commits into
mainfrom
drjit
Sep 28, 2026
Merged

luhenry merged 2 commits into
mainfrom
drjit

Conversation

@luhenry

@luhenry luhenry commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Compiles Dr.Jit's JIT-tracing array core (drjit-core, drjit-extra) and its nanobind Python bindings. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels.yml (plain cibuildwheel driven by pyproject.toml).

Differs from upstream

  • Override *_NATIVE_FLAGS to empty - scikit-build-core's own default for a non-aarch64 target is -march=haswell, which riscv64 GCC rejects outright.

Matrix: cp39-cp314, no cp314t - matches upstream's own cibuildwheel build list, which does not build cp314t either.

Testing

  • same as upstream

License: Wheel bundles lz4/xxHash (BSD-2-Clause, Yann Collet) and robin_map (MIT, Tessil) source compiled straight into libdrjit-core.so; upstream ships no licence text for either (same gap on every architecture it already builds for), so 0002 adds license-files for both.

Patches

  • 0001-build-drjit-core-on-riscv64.patch - To upstream. Two "not aarch64 means x86" preprocessor gaps block compiling drjit-core's dlopen-based LLVM/CUDA JIT backends (<immintrin.h>, __builtin_ia32_pause); neither backend needs an LLVM install or the CUDA toolkit to build, both resolve at runtime. Reproduces on any non-x86, non-aarch64 target.
  • 0002-package-licences-of-vendored-lz4-xxhash-and-robin-map.patch - To upstream. See License above.

Built locally under QEMU: drjit-core and drjit-extra compile and link clean, 0 errors.

@luhenry
luhenry marked this pull request as draft September 28, 2026 07:42
luhenry added a commit that referenced this pull request Sep 28, 2026
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-28 12:38 UTC

@luhenry
luhenry marked this pull request as ready for review September 28, 2026 12:06
@luhenry
luhenry merged commit 4c23c48 into main Sep 28, 2026
16 of 17 checks passed
@luhenry
luhenry deleted the drjit branch September 28, 2026 12:07
luhenry added a commit that referenced this pull request Sep 28, 2026
…echunk, grpcio-observability, fatfs-ng, neo4j-rust-ext, valkey-glide-sync, mercurial, pyvips-binary, runai-model-streamer-gcs)

luhenry merged this batch of PRs directly (~12:07-12:14 UTC). Each
package's merge-triggered publish workflow run is still queued on main
and no GitHub Release exists yet (docs/packages/<pkg>.yaml still bare),
so mark all eleven publishing and keep their pr: field as-is.

drjit (#2429), also part of this wave, was already corrected by another
agent (aa0d674).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant