Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build packages using mambabuild #216

Merged
merged 1 commit into from May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions ci/cpu/build.sh
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2020, NVIDIA CORPORATION.
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
######################################
# ucx-py CPU conda build script for CI #
######################################
Expand Down Expand Up @@ -60,6 +60,9 @@ conda list --show-channel-urls
# FIX Added to deal with Anancoda SSL verification issues during conda builds
conda config --set ssl_verify False

# FIXME: Remove
gpuci_mamba_retry install -c conda-forge boa

################################################################################
# BUILD - Conda package builds (conda deps: libcucim)
################################################################################
Expand All @@ -73,7 +76,7 @@ conda config --set ssl_verify False
# /opt/conda/envs/rapids/lib

if [ "$BUILD_LIBCUCIM" == 1 ]; then
gpuci_conda_retry build -c conda-forge -c rapidsai-nightly \
gpuci_conda_retry mambabuild -c conda-forge -c rapidsai-nightly \
--dirty \
--no-remove-work-dir \
--no-build-id \
Expand All @@ -89,7 +92,7 @@ if [ "$BUILD_CUCIM" == 1 ]; then
# Set libcucim conda build folder for CPU build
export LIBCUCIM_BLD_PATH=${WORKSPACE}/ci/artifacts/cucim/cpu/.conda-bld

gpuci_conda_retry build -c ${LIBCUCIM_BLD_PATH} -c conda-forge -c rapidsai-nightly \
gpuci_conda_retry mambabuild -c ${LIBCUCIM_BLD_PATH} -c conda-forge -c rapidsai-nightly \
--python=${PYTHON_VER} \
--dirty \
--no-remove-work-dir \
Expand Down
6 changes: 4 additions & 2 deletions ci/gpu/build.sh
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2020, NVIDIA CORPORATION.
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
#########################################
# ucx-py GPU build and test script for CI #
#########################################
Expand Down Expand Up @@ -64,7 +64,9 @@ LIBCUCIM_BLD_PATH=$WORKSPACE/ci/artifacts/cucim/cpu/.conda-bld
CUCIM_BLD_PATH=/opt/conda/envs/rapids/conda-bld
mkdir -p ${CUCIM_BLD_PATH}

gpuci_mamba_retry build -c ${LIBCUCIM_BLD_PATH} -c conda-forge -c rapidsai-nightly \
# TODO: Move boa install to gpuci/rapidsai
gpuci_mamba_retry install -c conda-forge boa
gpuci_conda_retry mambabuild -c ${LIBCUCIM_BLD_PATH} -c conda-forge -c rapidsai-nightly \
--dirty \
--no-remove-work-dir \
--croot ${CUCIM_BLD_PATH} \
Expand Down