Fixing install script so that invoking -r alone does not trigger rebuild (#382)
[ROCm/rccl commit: 820a53287f]
This commit is contained in:
@@ -123,6 +123,18 @@ check_exit_code( )
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "$build_release" == true ]]; then
|
||||
unit_test_path="./build/release/test/UnitTests"
|
||||
else
|
||||
unit_test_path="./build/debug/test/UnitTests"
|
||||
fi
|
||||
|
||||
if ($run_tests) && [[ -f $unit_test_path ]]; then
|
||||
if [[ "$build_tests" == false ]]; then
|
||||
clean_build=false
|
||||
fi
|
||||
fi
|
||||
|
||||
# #################################################
|
||||
# prep
|
||||
# #################################################
|
||||
@@ -135,7 +147,6 @@ if ($clean_build); then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Create and go to the build directory.
|
||||
mkdir -p build; cd build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user