Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions azure-devops/build-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,20 @@ steps:
displayName: 'Configure the benchmarks for ${{ parameters.compiler }}'
timeoutInMinutes: 2
env: { TMP: $(tmpDir), TEMP: $(tmpDir) }
# TRANSITION, we currently don't build the benchmarks with Clang for ARM64 or ARM64EC
# TRANSITION, we currently only build the benchmarks with Clang for x64
condition: >
and(succeeded(), ${{ parameters.buildBenchmarks }},
not(and(eq('${{ parameters.compiler }}', 'clang-cl'), startsWith('${{ parameters.targetPlatform }}', 'arm64'))))
not(and(eq('${{ parameters.compiler }}', 'clang-cl'),
not(startsWith('${{ parameters.targetPlatform }}', 'x64')))))
- script: |
call "%ProgramFiles%\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" ^
-host_arch=${{ parameters.hostArch }} -arch=${{ parameters.targetArch }} -no_logo
cmake --build "$(benchmarkBuildOutputLocation)\${{ parameters.compiler }}"
displayName: 'Build the benchmarks for ${{ parameters.compiler }}'
timeoutInMinutes: 2
env: { TMP: $(tmpDir), TEMP: $(tmpDir) }
# TRANSITION, we currently don't build the benchmarks with Clang for ARM64 or ARM64EC
# TRANSITION, we currently only build the benchmarks with Clang for x64
condition: >
and(succeeded(), ${{ parameters.buildBenchmarks }},
not(and(eq('${{ parameters.compiler }}', 'clang-cl'), startsWith('${{ parameters.targetPlatform }}', 'arm64'))))
not(and(eq('${{ parameters.compiler }}', 'clang-cl'),
not(startsWith('${{ parameters.targetPlatform }}', 'x64')))))