Skip to content

Commit

Permalink
+set_build_env()
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepd-nv committed Oct 26, 2023
1 parent f2dc71e commit bc3bb20
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions continuous_integration/scripts/build-legate
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,28 @@ build_legate_release() {
conda mambabuild --output-folder /tmp/conda-build -c nvidia -c conda-forge --no-include-recipe conda/conda-build
}

set_build_env() {
export SCCACHE_REGION="us-east-2"
export SCCACHE_BUCKET="rapids-sccache-east"
export SCCACHE_S3_KEY_PREFIX=legate-cunumeric-dev
export VAULT_HOST=https://vault.ops.k8s.rapids.ai
export CMAKE_C_COMPILER_LAUNCHER=$(which sccache)
export CMAKE_CXX_COMPILER_LAUNCHER=$(which sccache)
export USE_CUDA=${USE_CUDA:-OFF}
}

build_legate() {
set -x
set -x;
cd ~/;

conda info
conda info;

set -eo pipefail;

set_build_env;

aws-login;

case "$1" in
ci) build_legate_all;;
release) build_legate_release;;
Expand Down

0 comments on commit bc3bb20

Please sign in to comment.