mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Add CUDA toolkit bin to $PATH
This commit is contained in:
1
.github/actions/build-linux/action.yml
vendored
1
.github/actions/build-linux/action.yml
vendored
@@ -18,7 +18,6 @@ runs:
|
||||
-DMLX_BUILD_CUDA=OFF
|
||||
CMAKE_ARGS_CUDA: >-
|
||||
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON
|
||||
-DCMAKE_CUDA_COMPILER=/usr/local/${{ inputs.toolkit }}/bin/nvcc
|
||||
-DMLX_BUILD_CUDA=ON
|
||||
run: |
|
||||
export CMAKE_ARGS="$CMAKE_ARGS_${{ startsWith(inputs.toolkit, 'cuda') && 'CUDA' || 'CPU' }}"
|
||||
|
||||
Reference in New Issue
Block a user