|
|
@ -33,7 +33,7 @@ on_error() {
|
|
|
|
|
|
|
|
|
|
|
|
run_conda_quiet() {
|
|
|
|
run_conda_quiet() {
|
|
|
|
local output
|
|
|
|
local output
|
|
|
|
output=$(conda install --yes --quiet "$@" 2>&1) || {
|
|
|
|
output=$(conda install --yes --quiet -c conda-forge "$@" 2>&1) || {
|
|
|
|
echo -e "${ERROR} Conda install failed:\n$output"
|
|
|
|
echo -e "${ERROR} Conda install failed:\n$output"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -60,8 +60,6 @@ if ! command -v conda &>/dev/null; then
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
run_conda_quiet gcc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USE_CUDA=false
|
|
|
|
USE_CUDA=false
|
|
|
|
USE_ROCM=false
|
|
|
|
USE_ROCM=false
|
|
|
|
USE_CPU=false
|
|
|
|
USE_CPU=false
|
|
|
|