Skip to content

Commit

Permalink
Pass AWS_SESSION_TOKEN and SCCACHE_S3_USE_SSL vars to conda build (
Browse files Browse the repository at this point in the history
…#3324)

This PR ensures that the `AWS_SESSION_TOKEN` and `SCCACHE_S3_USE_SSL` environment variables are passed to our conda build process.

`AWS_SESSION_TOKEN` is necessary in order to support using temporary credentials via AWS STS (we recently adopted this method in CI).

`SCCACHE_S3_USE_SSL` has been reported to increase cache performance for S3.

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)

URL: #3324
  • Loading branch information
ajschmidt8 authored Mar 9, 2023
1 parent 5ba994b commit 9be174d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build:
script_env:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- CMAKE_C_COMPILER_LAUNCHER
- CMAKE_CUDA_COMPILER_LAUNCHER
- CMAKE_CXX_COMPILER_LAUNCHER
Expand All @@ -30,6 +31,7 @@ build:
- SCCACHE_REGION
- SCCACHE_S3_KEY_PREFIX=cugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=cugraph-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
ignore_run_exports_from:
- {{ compiler('cuda') }}

Expand Down
2 changes: 2 additions & 0 deletions conda/recipes/libcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ build:
script_env:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- CMAKE_C_COMPILER_LAUNCHER
- CMAKE_CUDA_COMPILER_LAUNCHER
- CMAKE_CXX_COMPILER_LAUNCHER
Expand All @@ -27,6 +28,7 @@ build:
- SCCACHE_REGION
- SCCACHE_S3_KEY_PREFIX=libcugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcugraph-linux64 # [linux64]
- SCCACHE_S3_USE_SSL

requirements:
build:
Expand Down
2 changes: 2 additions & 0 deletions conda/recipes/pylibcugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build:
script_env:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- CMAKE_C_COMPILER_LAUNCHER
- CMAKE_CUDA_COMPILER_LAUNCHER
- CMAKE_CXX_COMPILER_LAUNCHER
Expand All @@ -30,6 +31,7 @@ build:
- SCCACHE_REGION
- SCCACHE_S3_KEY_PREFIX=pylibcugraph-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=pylibcugraph-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
ignore_run_exports_from:
- {{ compiler('cuda') }}

Expand Down

0 comments on commit 9be174d

Please sign in to comment.