Skip to content

Commit e900d9f

Browse files
committed
release: build sdist from python/ with CPU-only cmake args
1 parent 1f16a12 commit e900d9f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ jobs:
1919
python-version: "3.11"
2020
- run: pip install build
2121
- name: Build sdist only (CPU-only to avoid CUDA dependency)
22-
run: python -m build --sdist
22+
run: |
23+
cd python
24+
python -m build --sdist -o ../dist
2325
env:
24-
SKBUILD_CONFIGURE_OPTIONS: "-DCRISPR_GPU_ENABLE_CUDA=OFF"
26+
SKBUILD_CONFIGURE_OPTIONS: "-DPRIMEFORGE_ENABLE_CUDA=OFF -DPRIMEFORGE_BUILD_BENCHMARKS=OFF -DPRIMEFORGE_RUN_BENCH=OFF"
2527
- uses: actions/upload-artifact@v4
2628
with:
2729
name: dist

0 commit comments

Comments
 (0)