Skip to content

Commit

Permalink
try parallelism=(nproc * 2) [skip-vdc] [skip-docs] [skip-rapids]
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Nov 1, 2024
1 parent d2578ca commit 879c894
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/workflow-run-job-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ runs:
chmod 0755 "$RUNNER_TEMP/bin/sccache"
CPUS="$(nproc --all)"
OS="$(uname -s | tr '[:upper:]' '[:lower:]')"
ARCH="$(dpkg --print-architecture | awk -F'-' '{print $NF}')"
Expand All @@ -172,7 +173,9 @@ runs:
chmod 0664 "$RUNNER_TEMP/.config/sccache/config"
extra_launch_args+=(
--env "PARALLEL_LEVEL=$((CPUS * 2))"
--env "SCCACHE_NO_CACHE=true"
--env "SCCACHE_S3_KEY_PREFIX=cccl-sccache-dist-test"
--volume "$(host_path "$RUNNER_TEMP")/.config:/root/.config:ro"
--volume "$(host_path "$RUNNER_TEMP")/bin/sccache:/usr/bin/sccache:ro"
)
Expand Down

0 comments on commit 879c894

Please sign in to comment.