Spaces:
Running
Running
Tamotsu Takahashi
commited on
ci : redistribute CUDA DLLs (#1522)
Browse filessee https://docs.nvidia.com/cuda/eula/index.html#attachment-a
.github/workflows/build.yml
CHANGED
|
@@ -320,6 +320,13 @@ jobs:
|
|
| 320 |
cd ./build
|
| 321 |
msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
|
| 322 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 323 |
- name: Copy SDL2.dll
|
| 324 |
if: matrix.sdl2 == 'ON'
|
| 325 |
run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}
|
|
|
|
| 320 |
cd ./build
|
| 321 |
msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
|
| 322 |
|
| 323 |
+
- name: Copy CUDA DLLs
|
| 324 |
+
run: >
|
| 325 |
+
Copy-Item -PassThru
|
| 326 |
+
-Path "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/*.dll"
|
| 327 |
+
-Include cudart64_*,cublas64_*,cublasLt64_*
|
| 328 |
+
-Destination build/bin/${{ matrix.build }}
|
| 329 |
+
|
| 330 |
- name: Copy SDL2.dll
|
| 331 |
if: matrix.sdl2 == 'ON'
|
| 332 |
run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}
|