You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2022/02/25 04:18:17 UTC
[qpid-proton] branch main updated: PROTON-2508: Workaround Visual Studio 2017 optimizer bug
This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new 38b1d89 PROTON-2508: Workaround Visual Studio 2017 optimizer bug
38b1d89 is described below
commit 38b1d89031322410a42ed17876021ef6bda78ccc
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Thu Feb 24 17:31:12 2022 -0500
PROTON-2508: Workaround Visual Studio 2017 optimizer bug
It seems that the bug does not occur in MinSizeRel (or Debug) build
configurations.
---
.appveyor.yml | 2 ++
azure-pipelines/azure-pipelines.yml | 2 ++
azure-pipelines/steps.yml | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index d2d6db1..a936aba 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -13,8 +13,10 @@ environment:
VCPKG_DEFAULT_TRIPLET: x64-windows
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: Visual Studio 15 2017
+ CONFIGURATION: MinSizeRel
PYTHON: "C:\\Python37-x64"
QPID_PROTON_CMAKE_ARGS: "-A x64"
+ QPID_PROTON_CTEST_ARGS: "-E tox"
VCPKG_INTEGRATION: '-DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake'
VCPKG_DEFAULT_TRIPLET: x64-windows
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
diff --git a/azure-pipelines/azure-pipelines.yml b/azure-pipelines/azure-pipelines.yml
index 67b3429..826afed 100644
--- a/azure-pipelines/azure-pipelines.yml
+++ b/azure-pipelines/azure-pipelines.yml
@@ -33,6 +33,8 @@ jobs:
PythonArch: 'x86'
CmakeConfigExtraArgs: '-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake'
CmakeGenerator: '-G "Visual Studio 15 2017"'
+ Config: 'MinSizeRel'
+ CtestExtraArgs: '-E tox'
VCPKG_DEFAULT_TRIPLET: x86-windows
pool:
vmImage: 'vs2017-win2016'
diff --git a/azure-pipelines/steps.yml b/azure-pipelines/steps.yml
index 7944727..0f6e0d7 100644
--- a/azure-pipelines/steps.yml
+++ b/azure-pipelines/steps.yml
@@ -18,7 +18,7 @@ steps:
inputs:
workingDirectory: 'BLD'
cmakeArgs: --build . --config $(Config)
-- script: ctest -C $(Config) -V -T Test --no-compress-output
+- script: ctest -C $(Config) -V -T Test --no-compress-output $(CtestExtraArgs)
displayName: CMakeTest
workingDirectory: 'BLD'
continueOnError: true
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org