File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ runs:
107
107
tar -czvf ${CTK_CACHE_FILENAME} ${CACHE_TMP_DIR}
108
108
109
109
CUDA_PATH="./cuda_toolkit"
110
- mkdir -p $CUDA_PATH
110
+ mkdir $CUDA_PATH
111
111
mv $CACHE_TMP_DIR/* $CUDA_PATH
112
112
rmdir $CACHE_TMP_DIR
113
113
@@ -125,8 +125,9 @@ runs:
125
125
run : |
126
126
ls -l
127
127
CACHE_TMP_DIR="./cache_tmp_dir"
128
- CUDA_PATH="./cuda_toolkit"
129
128
tar -xzvf $CTK_CACHE_FILENAME
129
+ CUDA_PATH="./cuda_toolkit"
130
+ mkdir $CUDA_PATH
130
131
mv $CACHE_TMP_DIR/* $CUDA_PATH
131
132
rmdir $CACHE_TMP_DIR
132
133
ls -l $CUDA_PATH
Original file line number Diff line number Diff line change 1
- # Requires -RunAsAdministrator
1
+ # Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
2
4
3
5
# Install the driver
4
6
function Install-Driver {
@@ -23,7 +25,7 @@ function Install-Driver {
23
25
$ProgressPreference = $ProgressPreference_tmp
24
26
Write-Output ' Download complete!'
25
27
26
- # Install the file with the specified path from earlier as well as the RunAs admin option
28
+ # Install the file with the specified path from earlier
27
29
Write-Output ' Running the driver installer...'
28
30
Start-Process - FilePath $file_dir - ArgumentList $install_args - Wait
29
31
Write-Output ' Done!'
You can’t perform that action at this time.
0 commit comments