You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by oy...@apache.org on 2022/02/28 13:30:05 UTC

[netbeans] branch master updated: Fix Windows profiler.lib workflow by using Windows10SDK.20348

This is an automated email from the ASF dual-hosted git repository.

oyarzun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 6fb0960  Fix Windows profiler.lib workflow by using Windows10SDK.20348
     new 2f32608  Merge pull request #3665 from oyarzun/profiler-gh-actions
6fb0960 is described below

commit 6fb09609754aec7ed963e3cd281b9a63d44c0635
Author: Christian Oyarzun <oy...@apache.org>
AuthorDate: Wed Feb 23 09:53:19 2022 -0500

    Fix Windows profiler.lib workflow by using Windows10SDK.20348
---
 .github/workflows/native-binary-build-lib.profiler.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/native-binary-build-lib.profiler.yml b/.github/workflows/native-binary-build-lib.profiler.yml
index e5d2366..de624f2 100644
--- a/.github/workflows/native-binary-build-lib.profiler.yml
+++ b/.github/workflows/native-binary-build-lib.profiler.yml
@@ -176,6 +176,10 @@ jobs:
     # Step 3
     #   Build the native binary from C source code
     #
+    #   Use Windows 10 SDK 10.0.20348.0 since build fails with Windows 11 SDK 10.0.22000.0
+    #   https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170#vcvarsall-syntax
+    #   https://bugs.python.org/issue45220
+    #
     - name: Build native lib (64-bit)
       run: |
          echo on
@@ -184,7 +188,7 @@ jobs:
          set OUTPUTDIR=../../release/lib/deployed/jdk16/windows-amd64
          del /q /s "%OUTPUTDIR%"
          rem  set up a Visual Studio command prompt for 64-bit development
-         call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
+         call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" 10.0.20348.0
          rem
          rem
          call buildnative-windows64-16.bat
@@ -202,7 +206,7 @@ jobs:
          set OUTPUTDIR=../../release/lib/deployed/jdk16/windows
          del /q /s "%OUTPUTDIR%"
          rem   set up a Visual Studio command prompt for 32-bit development
-         call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
+         call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat" 10.0.20348.0
          rem
          rem
          call buildnative-windows-16.bat

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists