Skip to content

Commit

Permalink
Try mocking libcuda.
Browse files Browse the repository at this point in the history
  • Loading branch information
eliphatfs committed Sep 14, 2024
1 parent 50a4bcd commit c3a7acd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
CIBW_BEFORE_ALL_WINDOWS: bash ci/setup_windows.sh
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_SKIP: pp* *-musllinux_*
CIBW_ENVIRONMENT_LINUX: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/stubs
CIBW_ENVIRONMENT_LINUX: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
# CIBW_ENVIRONMENT_MACOS: CC='clang' CXX='clang++'

- uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions ci/setup_manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ yum install --setopt=obsoletes=0 -y \
cuda-driver-devel-11-8-11.8.89-1 \
cuda-cudart-devel-11-8-11.8.89-1 \
cuda-nvcc-11-8-11.8.89-1
touch /usr/local/cuda/lib64/libcuda.so.1
chmox +x /usr/local/cuda/lib64/libcuda.so.1

0 comments on commit c3a7acd

Please sign in to comment.