<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>197288</bug_id>
          
          <creation_ts>2019-04-25 11:27:41 -0700</creation_ts>
          <short_desc>[AppleWin] Upgrade bots to Visual Studio 2019</short_desc>
          <delta_ts>2019-11-15 11:07:28 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>204000</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Don Olmstead">don.olmstead</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>fujii</cc>
    
    <cc>lforschler</cc>
    
    <cc>lingho</cc>
    
    <cc>pvollan</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1530454</commentid>
    <comment_count>0</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2019-04-25 11:27:41 -0700</bug_when>
    <thetext>Visual Studio 2019 was released this month, https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes . WinCairo currently requires either an old version of 2017 or 2019 to build. Currently our bots are using 2019 with ninja but we&apos;d like to switch general development to 2019. AppleWin should bump the version as well.

I would suggest installing Visual Studio 2019 Build Tools on the bots, direct link is https://aka.ms/vs/16/release/vs_buildtools.exe or expand the Tools section at https://visualstudio.microsoft.com/downloads/ , which has just the build tools and not the IDE. Its meant more for bots.

Our bots have the following workloads installed see https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019 for a list of all workloads

    Microsoft.VisualStudio.Component.Roslyn.Compiler
    Microsoft.Component.MSBuild
    Microsoft.VisualStudio.Component.CoreBuildTools
    Microsoft.VisualStudio.Workload.MSBuildTools
    Microsoft.VisualStudio.Component.Windows10SDK
    Microsoft.VisualStudio.Component.VC.CoreBuildTools
    Microsoft.VisualStudio.Component.VC.Tools.x86.x64
    Microsoft.VisualStudio.Component.VC.Redist.14.Latest
    Microsoft.VisualStudio.Component.Windows10SDK.17763
    Microsoft.VisualStudio.Workload.VCTools

At the same time if you&apos;re intending to use MSBuild through build-webkit you&apos;ll need to update CMake to a 3.14.x version which has support for 2019. Currently 3.14.3 is the latest.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1530518</commentid>
    <comment_count>1</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2019-04-25 14:22:33 -0700</bug_when>
    <thetext>Alex I think this will make the bots green again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1530519</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-04-25 14:23:39 -0700</bug_when>
    <thetext>I think we need to try to keep 2017 for another little while.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1530522</commentid>
    <comment_count>3</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2019-04-25 14:28:40 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #2)
&gt; I think we need to try to keep 2017 for another little while.

You may have to roll out that C++17 patch then. If you&apos;re not able to reproduce the build breakage in the bots locally and you&apos;re using 2017 my bet is that the bots need to be updated to a newer version of 2017. MS is testing AppleWin and WinCairo internally to check for compiler breakages.

2019 is probably a good idea for you all in the long term. WinCairo flat out doesn&apos;t work without it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1530620</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-04-25 22:13:41 -0700</bug_when>
    <thetext>We successfully covered up all the bugs for now, but we should still push to upgrade.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1547560</commentid>
    <comment_count>5</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2019-06-24 15:09:40 -0700</bug_when>
    <thetext>Here&apos;s the command line we use for installing on WinCairo. Adding Brent since he was asking for information on the Windows SDK.

C:\Users\ContainerAdministrator\AppData\Local\Temp\VSBuildTools2019.exe --quiet --norestart --nocache --wait --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.Component.MSBuild --add Microsoft.VisualStudio.Component.CoreBuildTools --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Component.Windows10SDK --add Microsoft.VisualStudio.Component.VC.CoreBuildTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Redist.14.Latest --add Microsoft.VisualStudio.Component.Windows10SDK.17763 --add Microsoft.VisualStudio.Workload.VCTools --installPath C:\MSVS

Again we use Visual Studio 2019 Build Tools which is meant for build servers. You won&apos;t get an IDE but you&apos;ll get all the things to build with.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1562740</commentid>
    <comment_count>6</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2019-08-19 10:05:44 -0700</bug_when>
    <thetext>Any updates on this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1563151</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2019-08-20 11:20:10 -0700</bug_when>
    <thetext>Pulling into radar to track updates on bots and EWS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1563153</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-08-20 11:20:26 -0700</bug_when>
    <thetext>&lt;rdar://problem/54520227&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590389</commentid>
    <comment_count>9</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-11-14 18:21:02 -0800</bug_when>
    <thetext>Some bots seem to start using Visual Studio 2019. Will it be available soon?

https://build.webkit.org/builders/Apple%20Win%2010%20Release%20%28Build%29/builds/8331

&gt; -- Building for: Visual Studio 16 2019
&gt; -- The C compiler identification is MSVC 19.23.28107.0
&gt; -- The CXX compiler identification is MSVC 19.23.28107.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590420</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-11-14 20:56:33 -0800</bug_when>
    <thetext>The upgrade is supposed to be all done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590421</commentid>
    <comment_count>11</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-11-14 21:08:40 -0800</bug_when>
    <thetext>Win7 bot still seems using VS2017?
&gt; Using Visual Studio: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2017/Community
https://build.webkit.org/builders/Apple%20Win%207%20Release%20%28Build%29/builds/8567/steps/compile-webkit/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590557</commentid>
    <comment_count>12</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-11-15 11:07:28 -0800</bug_when>
    <thetext>I thought that Win7 was no longer supported. But of course we need to remove the bots if that&apos;s the case. Brent and Per Arne, what do you say?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>