Draft
Conversation
Replace pecos metacrate dependency with direct crate deps, split decoders into pecos-rslib-qec and LLVM IR into pecos-rslib-llvm. Fix build pipeline to call maturin directly instead of through uv run (which caused full rebuilds every time). - pecos-rslib now depends on individual crates instead of pecos metacrate - New pecos-rslib-qec crate for QEC decoder bindings - New pecos-rslib-llvm crate for LLVM IR generation bindings - pecos python build now builds all rslib crates - just build no longer triggers uv sync forced rebuilds - Add skip-if-no-cuda-rust marker for doc tests - Remove dead qir_bindings.rs and llvm_context_bindings.rs
- Cache LLVM installation across CI runs (fixed version, keyed by OS+arch) - Skip LLVM download when cache hit (saves ~5 min per job) - Install PECOS CLI before LLVM setup in python-test (avoid cargo run overhead) - Update rust-cache workspaces to include pecos-rslib-qec and pecos-rslib-llvm - Add new rslib crate paths to rust-test trigger paths - Reduce python-test timeout from 240 to 120 minutes - Simplify Windows/macOS setup steps - Remove duplicated LLVM install/find/check cargo run invocations
- Docs workflow: use --all-packages to install guppylang etc. - Fix engine_type.rs cfg gate: was feature="llvm" but code uses pecos_qis (needs feature="qis")
- macOS: unset Homebrew library paths inline before build (GITHUB_ENV can't unset) - Move pecos-rslib-llvm from required to optional dep of quantum-pecos - Guard pecos_rslib_llvm imports with try/except for when LLVM not installed - Fixes release workflow test (pecos-rslib-llvm not on PyPI)
- Build pecos-rslib-llvm wheels alongside pecos-rslib in cibuildwheel - Download and install llvm wheels in quantum-pecos test jobs - Keep pecos-rslib-llvm as required dep (not optional) - Revert try/except import guard in gen_qir.py - Organize llvm wheel artifacts separately in collect step
…d_sim, optimize CI
- Add -rpath /usr/lib to RUSTFLAGS on macOS so cdylibs can find system libc++ - Use just's - prefix for julia/go builds (cross-platform error ignoring)
…v workflows to Justfile
…te examples (832 -> 221 lines)
… with old pecos package)
… allows with justification
…ce long arg lists
…rgs in 3 functions
…functions, 7 local PyO3 allows
…ue and too-many-lines
…d meaningful docs to 66 functions
… crate-level allow for PyO3
…ne allows with safety comments
…r-line allows with safety comments
…lows (465 + 250 hits, pervasive)
…icit per-line allows
…ems-after-statements
…ming and too-many-lines
… error, remove stale allows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.