Skip to content

Commit

Permalink
Build packages using mambabuild
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
  • Loading branch information
jjacobelli committed Feb 1, 2022
1 parent 0861858 commit ae1cf78
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
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
4 changes: 2 additions & 2 deletions ci/cpu/upload_anaconda.sh
Expand Up @@ -28,8 +28,8 @@ fi
################################################################################

gpuci_logger "Get conda file output locations"
export LIBCUCIM_FILE=`conda build --no-build-id --croot ${CONDA_BLD_DIR} conda/recipes/libcucim --output`
export CUCIM_FILE=`conda build --croot ${CONDA_BLD_DIR} conda/recipes/cucim --python=$PYTHON --output`
export LIBCUCIM_FILE=`conda mambabuild --no-build-id --croot ${CONDA_BLD_DIR} conda/recipes/libcucim --output`
export CUCIM_FILE=`conda mambabuild --croot ${CONDA_BLD_DIR} conda/recipes/cucim --python=$PYTHON --output`

################################################################################
# UPLOAD - Conda packages
Expand Down
4 changes: 2 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 @@ -69,7 +69,7 @@ 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 \
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

0 comments on commit ae1cf78

Please sign in to comment.