Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}'..."
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down