From 3c0e46bac0de718c8a1a59bc4d665ba9f9938a37 Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Mon, 23 May 2022 16:14:18 +0200 Subject: [PATCH] Build packages using mambabuild (#846) Use `mambabuild` to build `conda` packages. This should speed up the builds and help to debug `conda` conflict issues Authors: - Jordan Jacobelli (https://github.com/Ethyling) Approvers: - https://github.com/jakirkham - AJ Schmidt (https://github.com/ajschmidt8) URL: https://github.com/rapidsai/dask-cuda/pull/846 --- ci/cpu/build.sh | 7 +++++-- ci/gpu/build.sh | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ci/cpu/build.sh b/ci/cpu/build.sh index dd809eaac..d2450cfe8 100755 --- a/ci/cpu/build.sh +++ b/ci/cpu/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2019, NVIDIA CORPORATION. +# Copyright (c) 2019-2022, NVIDIA CORPORATION. ################################################################################ # dask-cuda cpu build ################################################################################ @@ -68,8 +68,11 @@ pip install git+https://github.com/dask/distributed.git@main # BUILD - Package builds ################################################################################ +# FIXME: Move boa install to gpuci/rapidsai +gpuci_mamba_retry install -c conda-forge boa + gpuci_logger "Build conda pkg for dask-cuda" -gpuci_conda_retry build conda/recipes/dask-cuda --python=${PYTHON} +gpuci_conda_retry mambabuild conda/recipes/dask-cuda --python=${PYTHON} rm -rf dist/ python setup.py sdist bdist_wheel diff --git a/ci/gpu/build.sh b/ci/gpu/build.sh index e8264410b..1363a2156 100755 --- a/ci/gpu/build.sh +++ b/ci/gpu/build.sh @@ -86,10 +86,13 @@ conda list --show-channel-urls # BUILD - Build dask-cuda ################################################################################ +# TODO: Move boa install to gpuci/rapidsai +gpuci_mamba_retry install boa + gpuci_logger "Build and install dask-cuda" cd "${WORKSPACE}" CONDA_BLD_DIR="${WORKSPACE}/.conda-bld" -gpuci_conda_retry build --croot "${CONDA_BLD_DIR}" conda/recipes/dask-cuda --python="${PYTHON}" +gpuci_conda_retry mambabuild --croot "${CONDA_BLD_DIR}" conda/recipes/dask-cuda --python="${PYTHON}" gpuci_mamba_retry install -c "${CONDA_BLD_DIR}" dask-cuda ################################################################################