From 2d54e4488d0723db3a2c74cb71b94f3d4b950175 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 2 Jun 2021 15:26:10 -0700 Subject: [PATCH 1/4] Comment the Start-Sleep workaround. --- azure-devops/create-vmss.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-devops/create-vmss.ps1 b/azure-devops/create-vmss.ps1 index b1057a018a8..50866af129a 100644 --- a/azure-devops/create-vmss.ps1 +++ b/azure-devops/create-vmss.ps1 @@ -310,6 +310,8 @@ Write-Progress ` -Status 'Sleeping after restart' ` -PercentComplete (100 / $TotalProgress * $CurrentProgress++) +# The VM appears to be busy immediately after restarting. +# This workaround waits for a minute before attempting to run sysprep.ps1. Start-Sleep -Seconds 60 #################################################################################################### From 0200ea314d1ff7911a85b69f657ae7f803c7d622 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 2 Jun 2021 15:31:28 -0700 Subject: [PATCH 2/4] Use 21h1-ent-g2. --- azure-devops/create-vmss.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-devops/create-vmss.ps1 b/azure-devops/create-vmss.ps1 index 50866af129a..35cab0e3be2 100644 --- a/azure-devops/create-vmss.ps1 +++ b/azure-devops/create-vmss.ps1 @@ -27,7 +27,7 @@ $ProtoVMName = 'PROTOTYPE' $LiveVMPrefix = 'BUILD' $ImagePublisher = 'MicrosoftWindowsDesktop' $ImageOffer = 'Windows-10' -$ImageSku = '20h2-ent-g2' +$ImageSku = '21h1-ent-g2' $ProgressActivity = 'Creating Scale Set' $TotalProgress = 14 From 26a1ba21fccc2e27531ddd3c677ef3615848afa5 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 2 Jun 2021 17:11:35 -0700 Subject: [PATCH 3/4] VS 2019 16.11 Preview 1. --- README.md | 4 ++-- azure-pipelines.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 453e1305526..43ff9ec81a5 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem The STL uses boost-math headers to provide P0226R1 Mathematical Special Functions. We recommend using [vcpkg][] to acquire this dependency. -1. Install Visual Studio 2019 16.10 Preview 4 or later. +1. Install Visual Studio 2019 16.11 Preview 1 or later. * We recommend selecting "C++ CMake tools for Windows" in the VS Installer. This will ensure that you're using supported versions of CMake and Ninja. * Otherwise, install [CMake][] 3.20 or later, and [Ninja][] 1.10.2 or later. @@ -158,7 +158,7 @@ acquire this dependency. # How To Build With A Native Tools Command Prompt -1. Install Visual Studio 2019 16.10 Preview 4 or later. +1. Install Visual Studio 2019 16.11 Preview 1 or later. * We recommend selecting "C++ CMake tools for Windows" in the VS Installer. This will ensure that you're using supported versions of CMake and Ninja. * Otherwise, install [CMake][] 3.20 or later, and [Ninja][] 1.10.2 or later. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b8b5c034e9f..ba1b161f8d0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ variables: buildOutputLocation: 'D:\build' vcpkgLocation: '$(Build.SourcesDirectory)/vcpkg' -pool: 'StlBuild-2021-05-18' +pool: 'StlBuild-2021-06-02' stages: - stage: Code_Format From b6084c620947aea82cb4230a5d353070ace00039 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 2 Jun 2021 17:24:31 -0700 Subject: [PATCH 4/4] Update tests.py for /std:c++20. --- tests/utils/stl/test/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/stl/test/tests.py b/tests/utils/stl/test/tests.py index f9711390a12..797b9a4c9fb 100644 --- a/tests/utils/stl/test/tests.py +++ b/tests/utils/stl/test/tests.py @@ -234,7 +234,7 @@ def _parseFlags(self): if flag[5:] == 'c++latest': self._addCustomFeature('c++2a') elif flag[5:] == 'c++20': - self.requires.append('unsupported_potato') # TRANSITION, VS2019 Preview 16.11 + self._addCustomFeature('c++2a') elif flag[5:] == 'c++17': self._addCustomFeature('c++17') elif flag[5:] == 'c++14':