File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -794,20 +794,21 @@ writeLine "${formattedFreeSpace} of ${formattedTotalSpace} available on ${system
794794# fi
795795
796796# Install tools that we know are available via apt-get or brew
797- if [ " $os " = " linux" ]; then
798- checkForTool curl
799- if [ " ${os_name} " = " debian" ]; then
800- checkForTool psmisc
801- else
802- checkForTool pstree
797+ if [ " $selfTestOnly " = false ]; then
798+ if [ " $os " = " linux" ]; then
799+ checkForTool curl
800+ if [ " ${os_name} " = " debian" ]; then
801+ checkForTool psmisc
802+ else
803+ checkForTool pstree
804+ fi
805+ checkForTool xz-utils
803806 fi
804- checkForTool xz-utils
807+ checkForTool wget
808+ checkForTool unzip
809+ if [ " ${useJq} " = true ]; then checkForTool jq; fi
810+ writeLine " "
805811fi
806- checkForTool wget
807- checkForTool unzip
808- if [ " ${useJq} " = true ]; then checkForTool jq; fi
809- writeLine " "
810-
811812
812813# :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
813814# 1. Ensure directories are created and download required assets
@@ -885,7 +886,9 @@ writeLine "GPU support" "White" "DarkGreen" $lineWidth
885886writeLine
886887
887888# Test for CUDA
888- CheckAndSetupCUDA
889+ if [ " $selfTestOnly " = false ]; then
890+ CheckAndSetupCUDA
891+ fi
889892
890893write " CUDA (NVIDIA) Present: "
891894if [ " $hasCUDA " = true ]; then
You can’t perform that action at this time.
0 commit comments