mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
b863e1e4c6
an assembler for Windows on Arm builds and also clang-cl as the compiler as well. Make appropriate changes to armcap source and peralsm scripts. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19523)
36 lines
1.2 KiB
Perl
36 lines
1.2 KiB
Perl
## -*- mode: perl; -*-
|
|
# Windows on Arm clang-cl targets.
|
|
#
|
|
|
|
my %targets = (
|
|
"VC-WIN64-CLANGASM-ARM" => {
|
|
inherit_from => [ "VC-noCE-common" ],
|
|
defines => add("_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE",
|
|
"OPENSSL_SYS_WIN_CORE"),
|
|
bn_ops => "SIXTY_FOUR_BIT RC4_CHAR",
|
|
multilib => "-arm64",
|
|
asm_arch => "aarch64",
|
|
AS => "clang-cl.exe",
|
|
ASFLAGS => "/nologo /Zi",
|
|
asflags => "/c",
|
|
asoutflag => "/Fo",
|
|
perlasm_scheme => "win64",
|
|
uplink_arch => 'armv8',
|
|
},
|
|
"VC-CLANG-WIN64-CLANGASM-ARM" => {
|
|
CC => "clang-cl",
|
|
inherit_from => [ "VC-noCE-common" ],
|
|
defines => add("_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE",
|
|
"OPENSSL_SYS_WIN_CORE"),
|
|
bn_ops => "SIXTY_FOUR_BIT RC4_CHAR",
|
|
multilib => "-arm64",
|
|
asm_arch => "aarch64",
|
|
AS => "clang-cl.exe",
|
|
ASFLAGS => "/nologo /Zi",
|
|
asflags => "/c",
|
|
asoutflag => "/Fo",
|
|
perlasm_scheme => "win64",
|
|
uplink_arch => 'armv8',
|
|
},
|
|
);
|