File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106
106
run : |
107
107
set +e
108
108
if [ "${{ inputs.msvc-toolset-architecture }}" = "arm64" ]; then
109
- vcvars="/c/Program Files (x86) /Microsoft Visual Studio/2019 /Enterprise/vc/auxiliary/build/vcvarsarm64.bat"
109
+ vcvars="/c/Program Files/Microsoft Visual Studio/2022 /Enterprise/vc/auxiliary/build/vcvarsarm64.bat"
110
110
else
111
111
vcvars="/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/vc/auxiliary/build/vcvars64.bat"
112
112
fi
@@ -122,8 +122,13 @@ jobs:
122
122
- name : ' Install toolchain and dependencies'
123
123
run : |
124
124
# Run Visual Studio Installer
125
+ if [ "${{ inputs.msvc-toolset-architecture }}" = "arm64" ]; then
126
+ install_path="C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
127
+ else
128
+ install_path="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"
129
+ fi
125
130
'/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
126
- modify --quiet --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' \
131
+ modify --quiet --installPath "${install_path}" \
127
132
--add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
128
133
if : steps.toolchain-check.outputs.toolchain-installed != 'true'
129
134
Original file line number Diff line number Diff line change @@ -329,7 +329,6 @@ jobs:
329
329
msvc-toolset-version : ' 14.29'
330
330
msvc-toolset-architecture : ' arm64'
331
331
make-target : ' hotspot'
332
- extra-conf-options : ' --openjdk-target=aarch64-unknown-cygwin'
333
332
configure-arguments : ${{ github.event.inputs.configure-arguments }}
334
333
make-arguments : ${{ github.event.inputs.make-arguments }}
335
334
if : needs.prepare.outputs.windows-aarch64 == 'true'
You can’t perform that action at this time.
0 commit comments