From 1a3ec1f27e41ee06e815975cccffd69ffd54e286 Mon Sep 17 00:00:00 2001 From: Alex Guteniev Date: Fri, 29 Aug 2025 22:19:12 +0300 Subject: [PATCH 1/3] nothing else matters --- azure-devops/build-benchmarks.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-devops/build-benchmarks.yml b/azure-devops/build-benchmarks.yml index 9aef40e89a0..92f5c1eb3ff 100644 --- a/azure-devops/build-benchmarks.yml +++ b/azure-devops/build-benchmarks.yml @@ -29,10 +29,10 @@ 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 @@ -40,7 +40,7 @@ steps: 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'))))) From d44ed877f7406152442db2f516ab85e168e1bea8 Mon Sep 17 00:00:00 2001 From: Alex Guteniev Date: Fri, 29 Aug 2025 22:35:49 +0300 Subject: [PATCH 2/3] lines --- azure-devops/build-benchmarks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-devops/build-benchmarks.yml b/azure-devops/build-benchmarks.yml index 92f5c1eb3ff..bba6d729a7a 100644 --- a/azure-devops/build-benchmarks.yml +++ b/azure-devops/build-benchmarks.yml @@ -32,7 +32,8 @@ steps: # TRANSITION, we currently only build the benchmarks with Clang for x64 condition: > and(succeeded(), ${{ parameters.buildBenchmarks }}, - not(and(eq('${{ parameters.compiler }}', 'clang-cl'), not(startsWith('${{ parameters.targetPlatform }}', 'x64'))))) + 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 @@ -43,4 +44,5 @@ steps: # TRANSITION, we currently only build the benchmarks with Clang for x64 condition: > and(succeeded(), ${{ parameters.buildBenchmarks }}, - not(and(eq('${{ parameters.compiler }}', 'clang-cl'), not(startsWith('${{ parameters.targetPlatform }}', 'x64'))))) + not(and(eq('${{ parameters.compiler }}', 'clang-cl'), + not(startsWith('${{ parameters.targetPlatform }}', 'x64'))))) From 87a697a0da006fa6ed1815ad250200d8af56813b Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Fri, 29 Aug 2025 15:39:24 -0700 Subject: [PATCH 3/3] Detect 'x64' with eq. --- azure-devops/build-benchmarks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-devops/build-benchmarks.yml b/azure-devops/build-benchmarks.yml index bba6d729a7a..05165b52d7d 100644 --- a/azure-devops/build-benchmarks.yml +++ b/azure-devops/build-benchmarks.yml @@ -33,7 +33,7 @@ steps: condition: > and(succeeded(), ${{ parameters.buildBenchmarks }}, not(and(eq('${{ parameters.compiler }}', 'clang-cl'), - not(startsWith('${{ parameters.targetPlatform }}', 'x64'))))) + not(eq('${{ parameters.targetPlatform }}', 'x64'))))) - script: | call "%ProgramFiles%\Microsoft Visual Studio\2022\Preview\Common7\Tools\VsDevCmd.bat" ^ -host_arch=${{ parameters.hostArch }} -arch=${{ parameters.targetArch }} -no_logo @@ -45,4 +45,4 @@ steps: condition: > and(succeeded(), ${{ parameters.buildBenchmarks }}, not(and(eq('${{ parameters.compiler }}', 'clang-cl'), - not(startsWith('${{ parameters.targetPlatform }}', 'x64'))))) + not(eq('${{ parameters.targetPlatform }}', 'x64')))))