forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two new build targets to enable the possibility of using clang-cl as
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 openssl#19523)
- Loading branch information
1 parent
71573e1
commit 3f31443
Showing
4 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## -*- 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', | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters