Skip to content

Commit de7bffe

Browse files
authored
Fix regression in agents for Windows ARM64 (#27235)
### Description A recent push to the agent infrastructure broke python on Windows ARM64. This patch will unblock CICD until an infrastructure patch can get rolled out. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
1 parent e21b948 commit de7bffe

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

tools/ci_build/github/azure-pipelines/templates/py-win-arm64-qnn.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parameters:
77
- name: PYTHON_VERSION
88
type: string
99
default: '3.11'
10-
10+
1111
- name: QNN_SDK
1212
displayName: QNN SDK Version
1313
type: string
@@ -32,6 +32,8 @@ jobs:
3232
name: ${{ parameters.MACHINE_POOL }}
3333
os: windows
3434
hostArchitecture: Arm64
35+
demands:
36+
- Agent.Version -equals 4.264.2
3537
templateContext:
3638
sdl:
3739
codeSignValidation:

tools/ci_build/github/azure-pipelines/win-qnn-arm64-ci-pipeline.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ parameters:
3737

3838
jobs:
3939
- job: 'BUILD_QNN_EP'
40-
pool: 'onnxruntime-qnn-windows-vs-2022-arm64'
40+
pool:
41+
name: 'onnxruntime-qnn-windows-vs-2022-arm64'
42+
demands:
43+
- Agent.Version -equals 4.264.2
4144
variables:
4245
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
4346
buildArch: arm64
@@ -83,7 +86,7 @@ jobs:
8386
--config $(BuildConfig)
8487
--build_dir $(Build.BinariesDirectory)
8588
--cmake_generator "Visual Studio 17 2022"
86-
--build_shared_lib --use_vcpkg --use_vcpkg_ms_internal_asset_cache
89+
--build_shared_lib --use_vcpkg --use_vcpkg_ms_internal_asset_cache
8790
--use_qnn $(QnnLibKind)
8891
--qnn_home $(QnnSDKRootDir)
8992
--update --build --parallel $(ExtraQnnBuildArgs)

0 commit comments

Comments
 (0)