From 3e830fe3ad161f69af2dd3d2875aeeda1ab1d350 Mon Sep 17 00:00:00 2001 From: Nicole Mazzuca Date: Thu, 16 Jun 2022 09:27:34 -0700 Subject: [PATCH] bugfix --- azure-devops/cmake-configure-build.yml | 2 +- azure-devops/cross-build.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-devops/cmake-configure-build.yml b/azure-devops/cmake-configure-build.yml index 0c5391cf68..030b38feae 100644 --- a/azure-devops/cmake-configure-build.yml +++ b/azure-devops/cmake-configure-build.yml @@ -35,7 +35,7 @@ steps: cmake ${{ parameters.cmakeAdditionalFlags}} -G Ninja ^ -DCMAKE_CXX_COMPILER=cl ^ -DCMAKE_BUILD_TYPE=Release ^ - -DSTL_BUILD_BENCHMARKING=$(buildBenchmarks) ^ + -DSTL_BUILD_BENCHMARKING=${{ parameters.buildBenchmarks }} ^ -DLIT_FLAGS=$(litFlags) ^ -S $(Build.SourcesDirectory) -B $(${{ parameters.buildOutputLocationVar }}) displayName: 'Configure the STL' diff --git a/azure-devops/cross-build.yml b/azure-devops/cross-build.yml index 153d1e7f18..e370a9d2fa 100644 --- a/azure-devops/cross-build.yml +++ b/azure-devops/cross-build.yml @@ -41,7 +41,8 @@ jobs: targetPlatform: ${{ parameters.targetPlatform }} hostArch: ${{ parameters.hostArch }} targetArch: ${{ parameters.vsDevCmdArch }} - cmakeAdditionalFlags: '-DTESTS_BUILD_ONLY=ON -DSTL_BUILD_BENCHMARKING=$(buildBenchmarks)' + buildBenchmarks: '${{ parameters.buildBenchmarks }}' + cmakeAdditionalFlags: '-DTESTS_BUILD_ONLY=ON' - template: run-tests.yml parameters: hostArch: ${{ parameters.hostArch }}