Skip to content

Commit

Permalink
use rapids-get-pr-conda-artifact kvikio 479 cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Oct 3, 2024
1 parent 7cee919 commit 4f94346
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ rapids-print-env

rapids-logger "Begin cpp build"

LIBKVIKIO_CHANNEL=$(rapids-get-pr-conda-artifact kvikio 479 cpp)

# With boa installed conda build forward to boa
RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry mambabuild \
--channel "${LIBKVIKIO_CHANNEL}" \
conda/recipes/libcudf

rapids-upload-conda-to-s3 cpp
2 changes: 2 additions & 0 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ rapids-print-env
rapids-logger "Downloading artifacts from previous jobs"
CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)
PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python)
LIBKVIKIO_CHANNEL=$(rapids-get-pr-conda-artifact kvikio 479 cpp)

rapids-mamba-retry install \
--channel "${CPP_CHANNEL}" \
--channel "${PYTHON_CHANNEL}" \
--channel "${LIBKVIKIO_CHANNEL}" \
libcudf pylibcudf cudf dask-cudf

export RAPIDS_DOCS_DIR="$(mktemp -d)"
Expand Down
2 changes: 2 additions & 0 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rapids-generate-version > ./VERSION
rapids-logger "Begin py build"

CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)
LIBKVIKIO_CHANNEL=$(rapids-get-pr-conda-artifact kvikio 479 cpp)

# TODO: Remove `--no-test` flag once importing on a CPU
# node works correctly
Expand All @@ -32,6 +33,7 @@ RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry mambabuild \
--no-test \
--channel "${CPP_CHANNEL}" \
--channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \
--channel "${LIBKVIKIO_CHANNEL}" \
conda/recipes/cudf

RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry mambabuild \
Expand Down
2 changes: 2 additions & 0 deletions ci/test_cpp_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ conda activate test
set -u

CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)
LIBKVIKIO_CHANNEL=$(rapids-get-pr-conda-artifact kvikio 479 cpp)

RESULTS_DIR=${RAPIDS_TESTS_DIR:-"$(mktemp -d)"}
RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${RESULTS_DIR}/test-results"}/
Expand All @@ -31,6 +32,7 @@ rapids-print-env

rapids-mamba-retry install \
--channel "${CPP_CHANNEL}" \
--channel "${LIBKVIKIO_CHANNEL}" \
libcudf libcudf_kafka libcudf-tests libcudf-example

rapids-logger "Check GPU usage"
Expand Down
2 changes: 2 additions & 0 deletions ci/test_python_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${RESULTS_DIR}/test-results"}/
RAPIDS_COVERAGE_DIR=${RAPIDS_COVERAGE_DIR:-"${RESULTS_DIR}/coverage-results"}
mkdir -p "${RAPIDS_TESTS_DIR}" "${RAPIDS_COVERAGE_DIR}"

LIBKVIKIO_CHANNEL=$(rapids-get-pr-conda-artifact kvikio 479 cpp)
rapids-print-env

rapids-mamba-retry install \
--channel "${CPP_CHANNEL}" \
--channel "${PYTHON_CHANNEL}" \
--channel "${LIBKVIKIO_CHANNEL}" \
cudf libcudf

0 comments on commit 4f94346

Please sign in to comment.