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
…rapidsai#982)

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:
  - H. Thomson Comer (https://github.com/thomcom)
  - Ray Douglass (https://github.com/raydouglass)

URL: rapidsai#982
  • Loading branch information
ajschmidt8 authored and trxcllnt committed Mar 15, 2023
1 parent 85e224d commit 4625bcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda/recipes/cuspatial/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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 @@ -29,6 +30,7 @@ build:
- SCCACHE_REGION
- SCCACHE_S3_KEY_PREFIX=cuspatial-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=cuspatial-linux64 # [linux64]
- SCCACHE_S3_USE_SSL
ignore_run_exports_from:
- {{ compiler('cuda') }}

Expand Down
2 changes: 2 additions & 0 deletions conda/recipes/libcuspatial/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=libcuspatial-aarch64 # [aarch64]
- SCCACHE_S3_KEY_PREFIX=libcuspatial-linux64 # [linux64]
- SCCACHE_S3_USE_SSL

requirements:
build:
Expand Down

0 comments on commit 4625bcd

Please sign in to comment.