Skip to content

Commit

Permalink
Enable sccache hits from local builds (#3526)
Browse files Browse the repository at this point in the history
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)
  - Jordan Jacobelli (https://github.com/jjacobelli)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #3526
  • Loading branch information
AyodeAwe authored May 4, 2023
1 parent 263d3e1 commit a66d1e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ build:
- SCCACHE_S3_KEY_PREFIX=cugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=cugraph-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
- SCCACHE_S3_NO_CREDENTIALS
ignore_run_exports_from:
- {{ compiler('cuda') }}

Expand Down
1 change: 1 addition & 0 deletions conda/recipes/libcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ build:
- SCCACHE_S3_KEY_PREFIX=libcugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
- SCCACHE_S3_NO_CREDENTIALS

requirements:
build:
Expand Down
1 change: 1 addition & 0 deletions conda/recipes/pylibcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ build:
- SCCACHE_S3_KEY_PREFIX=pylibcugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=pylibcugraph-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
- SCCACHE_S3_NO_CREDENTIALS
ignore_run_exports_from:
- {{ compiler('cuda') }}

Expand Down

0 comments on commit a66d1e2

Please sign in to comment.