Skip to content

Commit

Permalink
Build conda packages using mambabuild
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Oct 27, 2021
1 parent 0fbe357 commit c8b5cf2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,24 @@ conda config --set ssl_verify False
# BUILD - Conda package builds (conda deps: librmm <- rmm)
################################################################################

# TODO: Remove this
gpuci_conda_retry install -c conda-forge boa

if [[ "$BUILD_LIBRMM" == "1" ]]; then
gpuci_logger "Build conda pkg for librmm"
if [[ -z "$PROJECT_FLASH" || "$PROJECT_FLASH" == "0" ]]; then
gpuci_conda_retry build conda/recipes/librmm --python=$PYTHON
gpuci_conda_retry mambabuild conda/recipes/librmm --python=$PYTHON
else
gpuci_conda_retry build --dirty --no-remove-work-dir conda/recipes/librmm
gpuci_conda_retry mambabuild --dirty --no-remove-work-dir conda/recipes/librmm
fi
fi

if [[ "$BUILD_RMM" == "1" ]]; then
gpuci_logger "Build conda pkg for rmm"
if [[ -z "$PROJECT_FLASH" || "$PROJECT_FLASH" == "0" ]]; then
gpuci_conda_retry build conda/recipes/rmm --python=$PYTHON
gpuci_conda_retry mambabuild conda/recipes/rmm --python=$PYTHON
else
gpuci_conda_retry build --dirty --no-remove-work-dir \
gpuci_conda_retry mambabuild --dirty --no-remove-work-dir \
-c $WORKSPACE/ci/artifacts/rmm/cpu/conda-bld/ conda/recipes/rmm

fi
Expand Down
4 changes: 2 additions & 2 deletions ci/cpu/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ fi

gpuci_logger "Get conda file output locations"

export LIBRMM_FILE=`conda build conda/recipes/librmm --output`
export RMM_FILE=`conda build conda/recipes/rmm --python=$PYTHON --output`
export LIBRMM_FILE=`conda mambabuild conda/recipes/librmm --output`
export RMM_FILE=`conda mambabuild conda/recipes/rmm --python=$PYTHON --output`

################################################################################
# UPLOAD - Conda packages
Expand Down

0 comments on commit c8b5cf2

Please sign in to comment.