Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

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 May 20, 2022
1 parent 07289a1 commit 58946a0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 3 additions & 4 deletions ci/benchmark/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#!/usr/bin/env bash
# Copyright (c) 2018-2020, NVIDIA CORPORATION.
# Copyright (c) 2018-2022, NVIDIA CORPORATION.
#############################################
# cuSignal's Benchmark test script for CI #
#############################################
Expand Down Expand Up @@ -57,7 +56,7 @@ gpuci_logger "Activate conda env"
conda activate rapids

gpuci_logger "Install required packages"
gpuci_conda_retry install -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge \
gpuci_mamba_retry install -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge \
"cudatoolkit=$CUDA_REL" \
"rapids-build-env=${MINOR_VERSION}" \
rapids-pytest-benchmark
Expand Down Expand Up @@ -110,4 +109,4 @@ time pytest ../python -k TestWavelets -v -m "not cpu" \
--benchmark-asv-output-dir="${S3_ASV_DIR}" \
--benchmark-asv-metadata="${BENCHMARK_META}"

EXITCODE=$?
EXITCODE=$?
7 changes: 5 additions & 2 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2020, NVIDIA CORPORATION.
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
##########################################
# cuSignal CPU conda build script for CI #
##########################################
Expand Down Expand Up @@ -52,6 +52,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 build
################################################################################
Expand All @@ -61,7 +64,7 @@ export GPUCI_CONDA_RETRY_MAX=1
export GPUCI_CONDA_RETRY_SLEEP=30

gpuci_logger "Build conda pkg for cuSignal"
gpuci_conda_retry build conda/recipes/cusignal --python=${PYTHON}
gpuci_conda_retry mambabuild conda/recipes/cusignal --python=${PYTHON}

################################################################################
# UPLOAD - Conda packages
Expand Down
7 changes: 5 additions & 2 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2018-2020, NVIDIA CORPORATION.
# Copyright (c) 2018-2022, NVIDIA CORPORATION.
#############################################
# cuSignal GPU build and test script for CI #
#############################################
Expand Down Expand Up @@ -54,10 +54,13 @@ conda list --show-channel-urls
# BUILD - Build cusignal
################################################################################

# TODO: Move boa install to gpuci/rapidsai
gpuci_mamba_retry install boa

gpuci_logger "Build and install cusignal"
cd "${WORKSPACE}"
CONDA_BLD_DIR="${WORKSPACE}/.conda-bld"
gpuci_conda_retry build --croot "${CONDA_BLD_DIR}" conda/recipes/cusignal --python=${PYTHON}
gpuci_conda_retry mambabuild --croot "${CONDA_BLD_DIR}" conda/recipes/cusignal --python=${PYTHON}
gpuci_mamba_retry install -c "${CONDA_BLD_DIR}" cusignal

################################################################################
Expand Down

0 comments on commit 58946a0

Please sign in to comment.