Skip to content

Commit cbb1e81

Browse files
Skip building the benchmarks with Clang for ARM64 or ARM64EC.
1 parent 1044723 commit cbb1e81

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

azure-devops/build-benchmarks.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,18 @@ steps:
2929
displayName: 'Configure the benchmarks for ${{ parameters.compiler }}'
3030
timeoutInMinutes: 2
3131
env: { TMP: $(tmpDir), TEMP: $(tmpDir) }
32-
condition: and(succeeded(), ${{ parameters.buildBenchmarks }})
32+
# TRANSITION, we currently don't build the benchmarks with Clang for ARM64 or ARM64EC
33+
condition: >
34+
and(succeeded(), ${{ parameters.buildBenchmarks }},
35+
not(and(eq('${{ parameters.compiler }}', 'clang-cl'), startsWith('${{ parameters.targetPlatform }}', 'arm64'))))
3336
- script: |
3437
call "%ProgramFiles%\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" ^
3538
-host_arch=${{ parameters.hostArch }} -arch=${{ parameters.targetArch }} -no_logo
3639
cmake --build "$(benchmarkBuildOutputLocation)\${{ parameters.compiler }}"
3740
displayName: 'Build the benchmarks for ${{ parameters.compiler }}'
3841
timeoutInMinutes: 2
3942
env: { TMP: $(tmpDir), TEMP: $(tmpDir) }
40-
condition: and(succeeded(), ${{ parameters.buildBenchmarks }})
43+
# TRANSITION, we currently don't build the benchmarks with Clang for ARM64 or ARM64EC
44+
condition: >
45+
and(succeeded(), ${{ parameters.buildBenchmarks }},
46+
not(and(eq('${{ parameters.compiler }}', 'clang-cl'), startsWith('${{ parameters.targetPlatform }}', 'arm64'))))

0 commit comments

Comments
 (0)