Skip to content

Commit 2a1ffff

Browse files
committed
fix build flag for arm64
1 parent 9037880 commit 2a1ffff

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tools/ci_build/github/azure-pipelines/stages/plugin-win-webgpu-stage.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ stages:
6363
value: 'Visual Studio 17 2022'
6464
- name: CrossCompileDefines
6565
value: ''
66+
- name: ArchFlag
67+
${{ if eq(parameters.arch, 'arm64') }}:
68+
value: '--arm64'
69+
${{ else }}:
70+
value: ''
6671
steps:
6772
- checkout: self
6873
clean: true
@@ -132,6 +137,7 @@ stages:
132137
inputs:
133138
scriptPath: '$(Build.SourcesDirectory)\tools\ci_build\build.py'
134139
arguments: >-
140+
$(ArchFlag)
135141
--config ${{ parameters.cmake_build_type }}
136142
--build_dir $(Build.BinariesDirectory)
137143
--skip_submodule_sync

0 commit comments

Comments
 (0)