File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - main
88 - release/*
9- paths :
10- - .github/workflows/build-presets.yml
119 workflow_dispatch :
1210
1311concurrency :
@@ -121,14 +119,24 @@ jobs:
121119 set -eux
122120 conda init powershell
123121 powershell -Command "& {
122+ Set-PSDebug -Trace 1
124123 \$ErrorActionPreference = 'Stop'
125- Set-PSDebug -Trace 2
124+ \$PSNativeCommandUseErrorActionPreference = \$true
126125
127126 conda create --yes --quiet -n et python=3.12
128127 conda activate et
129128
130129 python install_requirements.py
131130 cmake --preset ${{ matrix.preset }}
131+ if (\$LASTEXITCODE -ne 0) {
132+ Write-Host "CMake configuration was unsuccessful. Exit code: \$LASTEXITCODE."
133+ exit \$LASTEXITCODE
134+ }
135+
132136 \$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1
133137 cmake --build cmake-out -j \$numCores
138+ if (\$LASTEXITCODE -ne 0) {
139+ Write-Host "CMake build was unsuccessful. Exit code: \$LASTEXITCODE."
140+ exit \$LASTEXITCODE
141+ }
134142 }"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ set_overridable_option(EXECUTORCH_BUILD_XNNPACK ON)
1919set_overridable_option(XNNPACK_ENABLE_AVX256SKX OFF )
2020set_overridable_option(XNNPACK_ENABLE_AVX256VNNI OFF )
2121set_overridable_option(XNNPACK_ENABLE_AVX256VNNIGFNI OFF )
22+ set_overridable_option(XNNPACK_ENABLE_AVX512BF16 OFF )
2223
2324# Below options are not yet buildable on Windows, but should be.
2425#set_overridable_option(EXECUTORCH_BUILD_KERNELS_OPTIMIZED ON)
You can’t perform that action at this time.
0 commit comments