diff --git a/conda-recipes/mxnet-feedstock/ci_support/build_steps.sh b/conda-recipes/mxnet-feedstock/ci_support/build_steps.sh index 06011a9..22aa720 100644 --- a/conda-recipes/mxnet-feedstock/ci_support/build_steps.sh +++ b/conda-recipes/mxnet-feedstock/ci_support/build_steps.sh @@ -39,8 +39,11 @@ setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" # make the build number clobber make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" +while :;do echo -n .;sleep 1;done & # Generate the output to prevent the timeout error +trap "kill $!" EXIT # Die with parent if we die prematurely conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" +kill $! && trap " " EXIT # Kill the while loop and unset the trap if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"