Skip to content

Commit c3dd8fe

Browse files
author
Paul Monson
committed
add ARM and ARM64 builds
1 parent f0325ed commit c3dd8fe

File tree

3 files changed

+38
-28
lines changed

3 files changed

+38
-28
lines changed

PCbuild/openssl.vcxproj

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Debug|Win32">
5-
<Configuration>Debug</Configuration>
6-
<Platform>Win32</Platform>
7-
</ProjectConfiguration>
84
<ProjectConfiguration Include="Release|Win32">
95
<Configuration>Release</Configuration>
106
<Platform>Win32</Platform>
117
</ProjectConfiguration>
12-
<ProjectConfiguration Include="PGInstrument|Win32">
13-
<Configuration>PGInstrument</Configuration>
14-
<Platform>Win32</Platform>
15-
</ProjectConfiguration>
16-
<ProjectConfiguration Include="PGInstrument|x64">
17-
<Configuration>PGInstrument</Configuration>
18-
<Platform>x64</Platform>
19-
</ProjectConfiguration>
20-
<ProjectConfiguration Include="PGUpdate|Win32">
21-
<Configuration>PGUpdate</Configuration>
22-
<Platform>Win32</Platform>
23-
</ProjectConfiguration>
24-
<ProjectConfiguration Include="PGUpdate|x64">
25-
<Configuration>PGUpdate</Configuration>
8+
<ProjectConfiguration Include="Release|x64">
9+
<Configuration>Release</Configuration>
2610
<Platform>x64</Platform>
2711
</ProjectConfiguration>
28-
<ProjectConfiguration Include="Debug|x64">
29-
<Configuration>Debug</Configuration>
30-
<Platform>x64</Platform>
12+
<ProjectConfiguration Include="Release|ARM">
13+
<Configuration>Release</Configuration>
14+
<Platform>ARM</Platform>
3115
</ProjectConfiguration>
32-
<ProjectConfiguration Include="Release|x64">
16+
<ProjectConfiguration Include="Release|ARM64">
3317
<Configuration>Release</Configuration>
34-
<Platform>x64</Platform>
18+
<Platform>ARM64</Platform>
3519
</ProjectConfiguration>
3620
</ItemGroup>
3721
<PropertyGroup Label="Globals">
@@ -40,15 +24,36 @@
4024

4125
<Import Project="python.props" />
4226
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
43-
44-
<PropertyGroup Label="Configuration">
27+
28+
<PropertyGroup Label="Configuration" Condition="$(Platform) == 'Win32'">
4529
<ConfigurationType>Makefile</ConfigurationType>
4630
<Bitness>32</Bitness>
47-
<Bitness Condition="$(Platform) == 'x64'">64</Bitness>
4831
<ArchName>x86</ArchName>
49-
<ArchName Condition="$(Platform) == 'x64'">amd64</ArchName>
5032
<OpenSSLPlatform>VC-WIN32</OpenSSLPlatform>
51-
<OpenSSLPlatform Condition="$(Platform) == 'x64'">VC-WIN64A</OpenSSLPlatform>
33+
<SupportSigning>true</SupportSigning>
34+
</PropertyGroup>
35+
36+
<PropertyGroup Label="Configuration" Condition="$(Platform) == 'x64'">
37+
<ConfigurationType>Makefile</ConfigurationType>
38+
<Bitness>64</Bitness>
39+
<ArchName>amd64</ArchName>
40+
<OpenSSLPlatform>VC-WIN64A</OpenSSLPlatform>
41+
<SupportSigning>true</SupportSigning>
42+
</PropertyGroup>
43+
44+
<PropertyGroup Label="Configuration" Condition="$(Platform) == 'ARM'">
45+
<ConfigurationType>Makefile</ConfigurationType>
46+
<Bitness>ARM</Bitness>
47+
<ArchName>ARM</ArchName>
48+
<OpenSSLPlatform>VC-WIN32-ARM</OpenSSLPlatform>
49+
<SupportSigning>true</SupportSigning>
50+
</PropertyGroup>
51+
52+
<PropertyGroup Label="Configuration" Condition="$(Platform) == 'ARM64'">
53+
<ConfigurationType>Makefile</ConfigurationType>
54+
<Bitness>ARM64</Bitness>
55+
<ArchName>ARM64</ArchName>
56+
<OpenSSLPlatform>VC-WIN64-ARM</OpenSSLPlatform>
5257
<SupportSigning>true</SupportSigning>
5358
</PropertyGroup>
5459

PCbuild/prepare_ssl.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,8 @@ if "%PERL%" == "" (echo Cannot locate perl.exe on PATH or as PERL variable & exi
5151
if errorlevel 1 exit /b
5252
%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=x64
5353
if errorlevel 1 exit /b
54+
%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=ARM
55+
if errorlevel 1 exit /b
56+
%MSBUILD% "%PCBUILD%\openssl.vcxproj" /p:Configuration=Release /p:Platform=ARM64
57+
if errorlevel 1 exit /b
5458

PCbuild/python.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
-->
2727
<ArchName Condition="'$(ArchName)' == '' and $(Platform) == 'x64'">amd64</ArchName>
2828
<ArchName Condition="'$(ArchName)' == '' and $(Platform) == 'ARM'">arm32</ArchName>
29+
<ArchName Condition="'$(ArchName)' == '' and $(Platform) == 'ARM64'">arm64</ArchName>
2930
<ArchName Condition="'$(ArchName)' == ''">win32</ArchName>
3031

3132
<!-- Root directory of the repository -->

0 commit comments

Comments
 (0)