Skip to content

Commit

Permalink
Verify if builds work
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-rliu committed Oct 30, 2024
1 parent ca5c02e commit ac67fa5
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,30 @@

set -euo pipefail

# TODO: uncomment when we're ready to begin uploading artifacts in CI
# rapids-configure-conda-channels

# configuring sccache shouldn't be necessary in a pure-Python project build
# source rapids-configure-sccache
rapids-configure-conda-channels

source rapids-date-string

export CMAKE_GENERATOR=Ninja

rapids-print-env

export RAPIDS_BUILD_TYPE=nightly
export RAPIDS_REPOSITORY=rapidsai/cugraph
export RAPIDS_NIGHTLY_DATE=$(printf '%(%Y-%m-%d)T\n' -1)
CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)

rapids-generate-version > ./VERSION
export RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION)

rapids-logger "Begin py build"

# TODO: Remove `--no-test` flags once importing on a CPU
# node works correctly
rapids-conda-retry mambabuild \
--no-test \
--channel "${CPP_CHANNEL}" \
conda/recipes/pylibcugraph

rapids-conda-retry mambabuild \
--no-test \
--channel "${CPP_CHANNEL}" \
--channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \
conda/recipes/cugraph

# NOTE: nothing in nx-cugraph is CUDA-specific, but it is built on each CUDA
# platform to ensure it is included in each set of artifacts, since test
# scripts only install from one set of artifacts based on the CUDA version used
# for the test run.
rapids-conda-retry mambabuild \
--no-test \
--channel "${CPP_CHANNEL}" \
--channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \
conda/recipes/nx-cugraph

# removed mambabuild for cugraph-service

RAPIDS_CUDA_MAJOR="${RAPIDS_CUDA_VERSION%%.*}"

# removed mambabuild steps for conda

# removed mambabuild for cugraph equivariant

# TODO: uncomment when we're ready to upload artifacts in CI
# rapids-upload-conda-to-s3 python

0 comments on commit ac67fa5

Please sign in to comment.