diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d89e3ab71c..37d0178853 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -92,7 +92,7 @@ repos: meta[.]yaml$ - id: verify-alpha-spec - repo: https://github.com/rapidsai/dependency-file-generator - rev: v1.13.11 + rev: v1.16.0 hooks: - id: rapids-dependency-file-generator args: ["--clean"] diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index 27ea30176d..8fb3a35991 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -16,6 +16,10 @@ rapids-print-env rapids-logger "Begin cpp build" conda config --set path_conflict prevent +sccache --zero-stats + rapids-conda-retry mambabuild conda/recipes/libkvikio +sccache --show-adv-stats + rapids-upload-conda-to-s3 cpp diff --git a/ci/build_python.sh b/ci/build_python.sh index 0b39b6c91f..7e0fc0bf93 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -18,8 +18,12 @@ rapids-logger "Begin py build" CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) conda config --set path_conflict prevent +sccache --zero-stats + rapids-conda-retry mambabuild \ --channel "${CPP_CHANNEL}" \ conda/recipes/kvikio +sccache --show-adv-stats + rapids-upload-conda-to-s3 python diff --git a/ci/build_wheel_cpp.sh b/ci/build_wheel_cpp.sh index f576571568..b11cdf6677 100755 --- a/ci/build_wheel_cpp.sh +++ b/ci/build_wheel_cpp.sh @@ -13,8 +13,12 @@ rapids-generate-version > ./VERSION cd "${package_dir}" +sccache --zero-stats + python -m pip install wheel -python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check +python -m pip wheel . -w dist -v --no-deps --disable-pip-version-check + +sccache --show-adv-stats RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 cpp dist diff --git a/ci/build_wheel_python.sh b/ci/build_wheel_python.sh index 65ac10e5a3..44cb76586c 100755 --- a/ci/build_wheel_python.sh +++ b/ci/build_wheel_python.sh @@ -23,9 +23,13 @@ cd "${package_dir}" # are used when creating the isolated build environment echo "libkvikio-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo ${CPP_WHEELHOUSE}/libkvikio_*.whl)" > ./constraints.txt +sccache --zero-stats + PIP_CONSTRAINT="${PWD}/constraints.txt" \ SKBUILD_CMAKE_ARGS="-DUSE_NVCOMP_RUNTIME_WHEEL=ON" \ - python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check + python -m pip wheel . -w dist -v --no-deps --disable-pip-version-check + +sccache --show-adv-stats mkdir -p final_dist python -m auditwheel repair \ @@ -33,4 +37,4 @@ python -m auditwheel repair \ -w final_dist \ dist/* -RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 final_dist +RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 python final_dist