Skip to content

Commit

Permalink
Change install script hipRAND download behaviour (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Jan 11, 2022
1 parent 5af9774 commit 78fde47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,12 @@ fi

if($install_dependencies); then
cmake_common_options="${cmake_common_options} -DDEPENDENCIES_FORCE_DOWNLOAD=ON"
if ! ($no_hiprand); then
git submodule update --init
fi
fi

if ($no_hiprand); then
cmake_common_options="${cmake_common_options} -DBUILD_HIPRAND=OFF"
elif ! [ -f "hipRAND/CMakeLists.txt" ]; then
git submodule update --init --force
fi

if [[ "${build_relocatable}" == true ]]; then
Expand Down

0 comments on commit 78fde47

Please sign in to comment.