Skip to content

Commit 6c78693

Browse files
committed
Add manylinux CUDA shim (adds /bin/sh)
1 parent d9030ff commit 6c78693

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/build-wheels.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ jobs:
142142
tool-cache: false # Keep Python/Node tools needed for build
143143
swap-storage: false # Frees ~4GB swap space
144144

145+
- name: Build manylinux CUDA shim (adds /bin/sh)
146+
if: runner.os == 'Linux'
147+
shell: bash
148+
run: |
149+
cat > Dockerfile.ci <<'EOF'
150+
FROM sameli/manylinux2014_x86_64_cuda_11.8:latest
151+
RUN yum install -y bash && if [ ! -e /bin/sh ]; then ln -s /bin/bash /bin/sh; fi
152+
EOF
153+
docker build -t pyhelios/manylinux2014_x86_64_cuda_11.8_shim -f Dockerfile.ci .
154+
145155
- name: Build wheels
146156
run: python -m cibuildwheel --output-dir wheelhouse
147157
timeout-minutes: 20 # Single timeout for the entire step
@@ -160,7 +170,7 @@ jobs:
160170
CIBW_ARCHS: ${{ matrix.arch }}
161171

162172
# Use stable manylinux images to avoid gateway timeout issues
163-
CIBW_MANYLINUX_X86_64_IMAGE: sameli/manylinux2014_x86_64_cuda_11.8
173+
CIBW_MANYLINUX_X86_64_IMAGE: pyhelios/manylinux2014_x86_64_cuda_11.8_shim
164174
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
165175

166176
# Platform-specific build commands with explicit plugin selection for consistency

0 commit comments

Comments
 (0)