From 28a15e6ccd44cc999ad5ef81e88c57671e386433 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 25 Feb 2025 17:56:30 -0600 Subject: [PATCH] Use conda-build instead of conda-mambabuild (#723) This changes from `conda mambabuild` to `conda build`. Conda now uses the mamba solver so no performance regressions are expected. This is a temporary change as we plan to migrate to `rattler-build` in the near future. However, this is needed sooner to drop `boa` and unblock Python 3.13 migrations. xref: https://github.com/rapidsai/build-planning/issues/149 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - James Lamb (https://github.com/jameslamb) URL: https://github.com/rapidsai/cuvs/pull/723 --- ci/build_cpp.sh | 2 +- ci/build_python.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index d0344061b..afd50a626 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -17,7 +17,7 @@ rapids-logger "Begin cpp build" sccache --zero-stats -RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry mambabuild \ +RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry build \ conda/recipes/libcuvs sccache --show-adv-stats diff --git a/ci/build_python.sh b/ci/build_python.sh index d9ea64de9..6981c08fc 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -25,7 +25,7 @@ sccache --zero-stats # TODO: Remove `--no-test` flags once importing on a CPU # node works correctly -rapids-conda-retry mambabuild \ +rapids-conda-retry build \ --no-test \ --channel "${CPP_CHANNEL}" \ conda/recipes/cuvs @@ -34,7 +34,7 @@ sccache --show-adv-stats sccache --zero-stats # Build cuvs-bench for each cuda and python version -rapids-conda-retry mambabuild \ +rapids-conda-retry build \ --no-test \ --channel "${CPP_CHANNEL}" \ --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ @@ -47,7 +47,7 @@ sccache --zero-stats # version RAPIDS_CUDA_MAJOR="${RAPIDS_CUDA_VERSION%%.*}" if [[ ${RAPIDS_CUDA_MAJOR} == "12" ]]; then - rapids-conda-retry mambabuild \ + rapids-conda-retry build \ --no-test \ --channel "${CPP_CHANNEL}" \ --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \