Skip to content

Commit

Permalink
Merge pull request #4063 from autowarefoundation/main
Browse files Browse the repository at this point in the history
merge main branch changes
  • Loading branch information
oguzkaganozt authored Dec 14, 2023
2 parents c9c4546 + d4dccbc commit c71e075
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ while [ "$1" != "" ]; do
option_data_dir="$2"
shift
;;
--download-artifacts)
# Set download artifacts option
option_download_artifacts=true
;;
*)
args+=("$1")
;;
Expand Down Expand Up @@ -85,7 +89,7 @@ fi

# Check installation of CUDA Drivers
if [ "$option_no_cuda_drivers" = "true" ]; then
ansible_args+=("--extra-vars" "install_cuda_drivers=false")
ansible_args+=("--extra-vars" "cuda_install_drivers=false")
fi

# Check installation of dev package
Expand All @@ -97,6 +101,12 @@ else
ansible_args+=("--extra-vars" "tensorrt_install_devel=true")
fi

# Check downloading artifacts
if [ "$option_yes" = "true" ] || [ "$option_download_artifacts" = "true" ]; then
echo -e "\e[36mArtifacts will be downloaded to $option_data_dir\e[m"
ansible_args+=("--extra-vars" "prompt_download_artifacts=y")
fi

ansible_args+=("--extra-vars" "data_dir=$option_data_dir")

# Load env
Expand Down

0 comments on commit c71e075

Please sign in to comment.