From b00a52eebea75fd4a479ac0abe085d2eae84ec0c Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Fri, 20 Aug 2021 16:56:12 +0200 Subject: [PATCH] Bypass unsupported packages for arm64 Signed-off-by: Jordan Jacobelli --- ci/cpu/build.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ci/cpu/build.sh b/ci/cpu/build.sh index 528d2f76..131a131d 100644 --- a/ci/cpu/build.sh +++ b/ci/cpu/build.sh @@ -49,6 +49,9 @@ if [[ "$BUILD_MODE" = "branch" && "$SOURCE_BRANCH" = branch-* ]] ; then export VERSION_SUFFIX=`date +%y%m%d` fi +# Get arch +ARCH=$(uname -m) + function build_pkg { # Build pkg gpuci_logger "Start conda build for '${1}'..." @@ -72,7 +75,6 @@ function run_builds { function upload_builds { # Check arch - ARCH=$(uname -m) if [ "${ARCH}" = "x86_64" ]; then ARCH_DIR="linux-64" elif [ "${ARCH}" = "aarch64" ]; then @@ -118,9 +120,12 @@ if [[ "$BUILD_PKGS" == "env" || -z "$BUILD_PKGS" ]] ; then # Run builds for env-pkgs run_builds $CONDA_RAPIDS_BUILD_RECIPE run_builds $CONDA_RAPIDS_NOTEBOOK_RECIPE - run_builds $CONDA_RAPIDS_DOC_RECIPE - run_builds $CONDA_BLAZING_BUILD_RECIPE - run_builds $CONDA_BLAZING_NOTEBOOK_RECIPE + # Bypass not supported packages for arm64 + if [ "${ARCH}" != "aarch64" ]; then + run_builds $CONDA_RAPIDS_DOC_RECIPE + run_builds $CONDA_BLAZING_BUILD_RECIPE + run_builds $CONDA_BLAZING_NOTEBOOK_RECIPE + fi fi # Upload builds