Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
15da491
Add interactive `pecos setup` command for build environment setup
ciaranra Apr 1, 2026
01c9d0d
Move LLVM/CUDA/cuQuantum installs under ~/.pecos/deps/ with migration…
ciaranra Apr 1, 2026
9a087f6
Add confirmation prompt with size display to pecos uninstall
ciaranra Apr 1, 2026
cb3c2b9
Replace hand-rolled TOML parsing in LLVM config reader with toml crate
ciaranra Apr 2, 2026
628abe2
Clean up Justfile dependency recipes and fix naming inconsistencies
ciaranra Apr 2, 2026
49367e9
Add disk usage to pecos list, CUDA/cuQuantum status, and post-install…
ciaranra Apr 2, 2026
68c01fe
Remove temporary design doc used during development
ciaranra Apr 2, 2026
f9c85a8
Add --quiet flag to pecos setup, use it from build recipes
ciaranra Apr 2, 2026
588ffff
Update docs to reference new ~/.pecos/deps/ paths
ciaranra Apr 2, 2026
938ab53
Simplify check-cli recipe from 57 lines to 11
ciaranra Apr 2, 2026
c67b35f
Add pecos clean command for cache and tmp cleanup
ciaranra Apr 2, 2026
77e910a
Replace pecos rust fmt with direct cargo fmt in Justfile
ciaranra Apr 2, 2026
a548230
Replace pecos rust check/clippy with direct cargo calls in Justfile
ciaranra Apr 2, 2026
63a7848
Replace more CLI wrappers with direct tool calls in Justfile
ciaranra Apr 2, 2026
7c02787
Reorganize Justfile with groups, hide internal recipes, reduce visibl…
ciaranra Apr 2, 2026
f03afcf
Add quick-start guide to default recipe, add check-cli guards to all …
ciaranra Apr 2, 2026
68bbdee
Fix sys-info to use proper CUDA/cuQuantum detection and show all deps
ciaranra Apr 2, 2026
7128db0
Add confirmation prompt to pecos upgrade
ciaranra Apr 2, 2026
c02e66b
Fix LLVM installer using dir-creating path, preventing extraction rename
ciaranra Apr 2, 2026
ff83bf7
Update CI workflow to use new ~/.pecos/deps/llvm path
ciaranra Apr 2, 2026
d32a803
Clarify install skip message: --force installs locally even when syst…
ciaranra Apr 2, 2026
4ccf96a
Add clean recipe to both dev and clean groups
ciaranra Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ jobs:
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28"
# Linux configuration - GCC Toolset and CUDA paths are conditional via matrix variables
CIBW_ENVIRONMENT_LINUX: >
PATH=${{ matrix.gcc_path_prefix }}$HOME/.cargo/bin:$HOME/.pecos/llvm/bin:/usr/local/cuda-12.6/bin:$PATH
PATH=${{ matrix.gcc_path_prefix }}$HOME/.cargo/bin:$HOME/.pecos/deps/llvm/bin:/usr/local/cuda-12.6/bin:$PATH
LD_LIBRARY_PATH=${{ matrix.gcc_ld_path }}$LD_LIBRARY_PATH
LLVM_SYS_140_PREFIX=$HOME/.pecos/llvm
LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm
CUDA_PATH=/usr/local/cuda-12.6
MATURIN_PEP517_ARGS="${{ matrix.cuda_feature }}"
CIBW_BEFORE_ALL_LINUX: |
Expand Down Expand Up @@ -223,8 +223,8 @@ jobs:
pipx run abi3audit --strict --report {wheel}
# macOS configuration
CIBW_ENVIRONMENT_MACOS: >
PATH=$HOME/.cargo/bin:$HOME/.pecos/llvm/bin:$PATH
LLVM_SYS_140_PREFIX=$HOME/.pecos/llvm
PATH=$HOME/.cargo/bin:$HOME/.pecos/deps/llvm/bin:$PATH
LLVM_SYS_140_PREFIX=$HOME/.pecos/deps/llvm
MACOSX_DEPLOYMENT_TARGET=13.2
CIBW_BEFORE_ALL_MACOS: |
curl -sSf https://sh.rustup.rs | sh -s -- -y
Expand All @@ -237,22 +237,22 @@ jobs:
printf '#!/bin/bash\nunset DYLD_LIBRARY_PATH\nexec /usr/bin/codesign "$@"\n' > $HOME/.pecos/bin/codesign
chmod +x $HOME/.pecos/bin/codesign
CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
PATH=$HOME/.pecos/bin:$PATH DYLD_LIBRARY_PATH=$HOME/.pecos/llvm/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
PATH=$HOME/.pecos/bin:$PATH DYLD_LIBRARY_PATH=$HOME/.pecos/deps/llvm/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
pipx run abi3audit --strict --report {wheel}
# Windows configuration - CUDA via Jimver/cuda-toolkit (installed before cibuildwheel)
CIBW_ENVIRONMENT_WINDOWS: >
PATH="C:\\Users\\runneradmin\\.pecos\\llvm\\bin;$PATH"
LLVM_SYS_140_PREFIX="C:\\Users\\runneradmin\\.pecos\\llvm"
PATH="C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin;$PATH"
LLVM_SYS_140_PREFIX="C:\\Users\\runneradmin\\.pecos\\deps\\llvm"
MATURIN_PEP517_ARGS="${{ matrix.cuda_feature }}"
CIBW_BEFORE_ALL_WINDOWS: >
echo "=== Installing LLVM using pecos ===" &&
rustup update &&
echo "=== Running pecos install llvm ===" &&
cargo run --release -p pecos --features cli -- install llvm --force &&
echo "=== Checking LLVM installation ===" &&
(test -d "C:\\Users\\runneradmin\\.pecos\\llvm" && echo "LLVM directory exists" && ls -la "C:\\Users\\runneradmin\\.pecos\\llvm" && (ls -la "C:\\Users\\runneradmin\\.pecos\\llvm\\bin" || echo "bin directory not found")) || (echo "ERROR: LLVM directory not found!" && exit 1) &&
(test -d "C:\\Users\\runneradmin\\.pecos\\deps\\llvm" && echo "LLVM directory exists" && ls -la "C:\\Users\\runneradmin\\.pecos\\deps\\llvm" && (ls -la "C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin" || echo "bin directory not found")) || (echo "ERROR: LLVM directory not found!" && exit 1) &&
echo "=== Verifying LLVM_SYS_140_PREFIX ===" &&
echo "LLVM_SYS_140_PREFIX will be set to: C:\\Users\\runneradmin\\.pecos\\llvm"
echo "LLVM_SYS_140_PREFIX will be set to: C:\\Users\\runneradmin\\.pecos\\deps\\llvm"
# Install delvewheel and patch it to ignore ext-ms-win-* API sets
# (delvewheel ignores api-ms-win-* but not ext-ms-win-* which are also Windows API sets)
CIBW_BEFORE_BUILD_WINDOWS: >
Expand All @@ -261,7 +261,7 @@ jobs:
# Note: --no-dll excludes Windows system DLLs that should not be bundled
# combase.dll and rmclient.dll are core Windows components that fail when bundled
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >
delvewheel repair -v --add-path "C:\\Users\\runneradmin\\.pecos\\llvm\\bin" --no-dll "combase.dll;rmclient.dll" -w {dest_dir} {wheel} &&
delvewheel repair -v --add-path "C:\\Users\\runneradmin\\.pecos\\deps\\llvm\\bin" --no-dll "combase.dll;rmclient.dll" -w {dest_dir} {wheel} &&
pipx run abi3audit --strict --report {wheel}

- name: Upload wheels
Expand Down
Loading
Loading