Skip to content

Commit ef50d1e

Browse files
sarnexadamfidel
authored andcommitted
[CI] Explicitly set number of jobs for lit on Windows (intel#17382)
The new Windows runner is a NUMA system with 2 CPUs, and for whatever reason `lit` seems to only detect the non-hyperthreaded cores on one of the CPUs, so just explicitly set it. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent f0be4cd commit ef50d1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/sycl-windows-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
echo "C:\Program Files\Git\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
105105
echo "CCACHE_DIR=D:\github\_work\cache\${{ inputs.build_cache_suffix }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
106106
echo "CCACHE_MAXSIZE=10G" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
107+
echo "LIT_OPTS='-j$env:NUMBER_OF_PROCESSORS $LIT_OPTS'" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
107108
- name: Register cleanup after job is finished
108109
uses: ./devops/actions/cleanup
109110
- uses: ./devops/actions/cached_checkout

0 commit comments

Comments
 (0)