From 5ce7279f22a5946ccbae0f957b73fb58ce1239da Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Mon, 1 May 2023 12:50:47 -0500 Subject: [PATCH] Enable sccache hits from local builds (#13248) This change passes through the value of `SCCACHE_S3_NO_CREDENTIALS` to our `conda` builds, enabling devs to utilize the `sccache` cache that's populated by CI when they are reproducing build issues locally as per [these](https://docs.rapids.ai/resources/reproducing-ci/) instructions. Authors: - Jake Awe (https://github.com/AyodeAwe) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) URL: https://github.com/rapidsai/cudf/pull/13248 --- conda/recipes/cudf/meta.yaml | 1 + conda/recipes/cudf_kafka/meta.yaml | 1 + conda/recipes/custreamz/meta.yaml | 1 + conda/recipes/dask-cudf/meta.yaml | 1 + conda/recipes/libcudf/meta.yaml | 1 + 5 files changed, 5 insertions(+) diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index c38143ac080..c8f41a55694 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -32,6 +32,7 @@ build: - SCCACHE_S3_KEY_PREFIX=cudf-aarch64 # [aarch64] - SCCACHE_S3_KEY_PREFIX=cudf-linux64 # [linux64] - SCCACHE_S3_USE_SSL + - SCCACHE_S3_NO_CREDENTIALS ignore_run_exports: # libcudf's run_exports pinning is looser than we would like - libcudf diff --git a/conda/recipes/cudf_kafka/meta.yaml b/conda/recipes/cudf_kafka/meta.yaml index 7319027699a..9a0d0f0d48e 100644 --- a/conda/recipes/cudf_kafka/meta.yaml +++ b/conda/recipes/cudf_kafka/meta.yaml @@ -31,6 +31,7 @@ build: - SCCACHE_S3_KEY_PREFIX=cudf-kafka-aarch64 # [aarch64] - SCCACHE_S3_KEY_PREFIX=cudf-kafka-linux64 # [linux64] - SCCACHE_S3_USE_SSL + - SCCACHE_S3_NO_CREDENTIALS requirements: build: diff --git a/conda/recipes/custreamz/meta.yaml b/conda/recipes/custreamz/meta.yaml index efd37cbc019..b5aff0090dd 100644 --- a/conda/recipes/custreamz/meta.yaml +++ b/conda/recipes/custreamz/meta.yaml @@ -31,6 +31,7 @@ build: - SCCACHE_S3_KEY_PREFIX=custreamz-aarch64 # [aarch64] - SCCACHE_S3_KEY_PREFIX=custreamz-linux64 # [linux64] - SCCACHE_S3_USE_SSL + - SCCACHE_S3_NO_CREDENTIALS requirements: host: diff --git a/conda/recipes/dask-cudf/meta.yaml b/conda/recipes/dask-cudf/meta.yaml index d4713a724a8..d060723859d 100644 --- a/conda/recipes/dask-cudf/meta.yaml +++ b/conda/recipes/dask-cudf/meta.yaml @@ -32,6 +32,7 @@ build: - SCCACHE_S3_KEY_PREFIX=dask-cudf-aarch64 # [aarch64] - SCCACHE_S3_KEY_PREFIX=dask-cudf-linux64 # [linux64] - SCCACHE_S3_USE_SSL + - SCCACHE_S3_NO_CREDENTIALS requirements: host: diff --git a/conda/recipes/libcudf/meta.yaml b/conda/recipes/libcudf/meta.yaml index c796bbf6240..5f95e968b79 100644 --- a/conda/recipes/libcudf/meta.yaml +++ b/conda/recipes/libcudf/meta.yaml @@ -30,6 +30,7 @@ build: - SCCACHE_S3_KEY_PREFIX=libcudf-aarch64 # [aarch64] - SCCACHE_S3_KEY_PREFIX=libcudf-linux64 # [linux64] - SCCACHE_S3_USE_SSL + - SCCACHE_S3_NO_CREDENTIALS requirements: build: