Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ source rapids-configure-sccache

source rapids-date-string

source rapids-telemetry-setup

export CMAKE_GENERATOR=Ninja

rapids-print-env
Expand All @@ -17,9 +19,9 @@ rapids-logger "Begin cpp build"

sccache --zero-stats

RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry build \
RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-telemetry-record build.log rapids-conda-retry build \
conda/recipes/libcuml

sccache --show-adv-stats
rapids-telemetry-record sccache-stats.txt sccache --show-adv-stats

rapids-upload-conda-to-s3 cpp
6 changes: 4 additions & 2 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ source rapids-configure-sccache

source rapids-date-string

source rapids-telemetry-setup

export CMAKE_GENERATOR=Ninja

rapids-print-env
Expand All @@ -23,12 +25,12 @@ sccache --zero-stats

# TODO: Remove `--no-test` flag once importing on a CPU
# node works correctly
RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \
RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-telemetry-record build.log rapids-conda-retry build \
--no-test \
--channel "${CPP_CHANNEL}" \
conda/recipes/cuml

sccache --show-adv-stats
rapids-telemetry-record sccache-stats.txt sccache --show-adv-stats

# Build cuml-cpu only in CUDA 12 jobs since it only depends on python
# version
Expand Down
5 changes: 3 additions & 2 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package_dir=$2

source rapids-configure-sccache
source rapids-date-string
source rapids-telemetry-setup

rapids-generate-version > ./VERSION

Expand All @@ -16,11 +17,11 @@ cd "${package_dir}"
sccache --zero-stats

rapids-logger "Building '${package_name}' wheel"
rapids-pip-retry wheel \
rapids-telemetry-record build.log rapids-pip-retry wheel \
-w dist \
-v \
--no-deps \
--disable-pip-version-check \
.

sccache --show-adv-stats
rapids-telemetry-record sccache-stats.txt sccache --show-adv-stats
8 changes: 7 additions & 1 deletion ci/build_wheel_cuml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ EXCLUDE_ARGS=(
--exclude "librapids_logger.so"
)

source rapids-telemetry-setup

sccache --zero-stats

export SKBUILD_CMAKE_ARGS="-DDISABLE_DEPRECATION_WARNINGS=ON;-DSINGLEGPU=OFF;-DUSE_LIBCUML_WHEEL=ON"
./ci/build_wheel.sh "${package_name}" "${package_dir}"
rapids-telemetry-record build.log ./ci/build_wheel.sh "${package_name}" "${package_dir}"

rapids-telemetry-record sccache-stats.txt sccache --show-adv-stats

mkdir -p ${package_dir}/final_dist
python -m auditwheel repair \
Expand Down
9 changes: 8 additions & 1 deletion ci/build_wheel_libcuml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,15 @@ EXCLUDE_ARGS=(
--exclude "librapids_logger.so"
)

source rapids-telemetry-setup

sccache --zero-stats

export SKBUILD_CMAKE_ARGS="-DDISABLE_DEPRECATION_WARNINGS=ON;-DCPM_cumlprims_mg_SOURCE=${GITHUB_WORKSPACE}/cumlprims_mg/"
./ci/build_wheel.sh "${package_name}" "${package_dir}"

rapids-telemetry-record build.log ./ci/build_wheel.sh "${package_name}" "${package_dir}"

rapids-telemetry-record sccache-stats.txt sccache --show-adv-stats

mkdir -p ${package_dir}/final_dist
python -m auditwheel repair \
Expand Down
Loading