From 401e9408d14dc2b9d07183a04c223831a59f71a3 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Sat, 23 Dec 2023 01:08:09 +0100 Subject: tdf#105844 argon2: add vcxproj files for WinARM64 builds Also add argon2 to crossbuild tools side. Change-Id: I8704b2d8362a051c2d634b9db7416cdc2cf9add4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161206 Tested-by: Jenkins Reviewed-by: Xisco Fauli Reviewed-by: Thorsten Behrens --- .../argon2/0002-Add-WinARM64-vcxproj-config.patch | 185 +++++++++++++++++++++ external/argon2/UnpackedTarball_argon2.mk | 1 + 2 files changed, 186 insertions(+) create mode 100644 external/argon2/0002-Add-WinARM64-vcxproj-config.patch (limited to 'external') diff --git a/external/argon2/0002-Add-WinARM64-vcxproj-config.patch b/external/argon2/0002-Add-WinARM64-vcxproj-config.patch new file mode 100644 index 000000000000..063296dd107c --- /dev/null +++ b/external/argon2/0002-Add-WinARM64-vcxproj-config.patch @@ -0,0 +1,185 @@ +diff -ur argon2.org/vs2015/Argon2OptDll/Argon2OptDll.vcxproj argon2/vs2015/Argon2OptDll/Argon2OptDll.vcxproj +--- argon2.org/vs2015/Argon2OptDll/Argon2OptDll.vcxproj 2023-12-23 01:00:49.231059537 +0100 ++++ argon2/vs2015/Argon2OptDll/Argon2OptDll.vcxproj 2023-12-23 01:02:40.375527010 +0100 +@@ -13,6 +13,10 @@ + ReleaseStatic + x64 + ++ ++ Release ++ AMR64 ++ + + Release + Win32 +@@ -50,6 +54,12 @@ + true + MultiByte + ++ ++ DynamicLibrary ++ false ++ true ++ MultiByte ++ + + DynamicLibrary + false +@@ -84,6 +94,9 @@ + + + ++ ++ ++ + + + +@@ -107,6 +120,11 @@ + $(SolutionDir)vs2015\build\$(ProjectName)\ + $(SolutionDir)include;$(IncludePath) + ++ ++ $(SolutionDir)vs2015\build\ ++ $(SolutionDir)vs2015\build\$(ProjectName)\ ++ $(SolutionDir)include;$(IncludePath) ++ + + $(SolutionDir)vs2015\build\ + $(SolutionDir)vs2015\build\$(ProjectName)\ +@@ -158,6 +176,21 @@ + true + + ++ ++ ++ Level3 ++ MaxSpeed ++ true ++ false ++ true ++ _CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) ++ ++ ++ true ++ true ++ true ++ ++ + + + Level3 +@@ -209,7 +242,6 @@ + + + +- + + + +@@ -221,7 +253,7 @@ + + + +- ++ + + + +Only in argon2/vs2015/Argon2OptDll: Argon2OptDll.vcxproj~ +diff -ur argon2.org/vs2015/Argon2OptTestCI/Argon2OptTestCI.vcxproj argon2/vs2015/Argon2OptTestCI/Argon2OptTestCI.vcxproj +--- argon2.org/vs2015/Argon2OptTestCI/Argon2OptTestCI.vcxproj 2023-12-23 01:00:49.231059537 +0100 ++++ argon2/vs2015/Argon2OptTestCI/Argon2OptTestCI.vcxproj 2023-12-23 01:02:12.518576081 +0100 +@@ -17,6 +17,10 @@ + Release + Win32 + ++ ++ Release ++ ARM64 ++ + + Debug + x64 +@@ -51,6 +55,12 @@ + true + MultiByte + ++ ++ Application ++ false ++ true ++ MultiByte ++ + + Application + false +@@ -85,6 +95,9 @@ + + + ++ ++ ++ + + + +@@ -108,6 +121,11 @@ + $(SolutionDir)vs2015\build\ + $(SolutionDir)vs2015\build\$(ProjectName)\ + ++ ++ $(SolutionDir)include;$(IncludePath) ++ $(SolutionDir)vs2015\build\ ++ $(SolutionDir)vs2015\build\$(ProjectName)\ ++ + + $(SolutionDir)include;$(IncludePath) + $(SolutionDir)vs2015\build\ +@@ -162,6 +180,21 @@ + true + + ++ ++ ++ Level3 ++ MaxSpeed ++ true ++ false ++ true ++ _CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) ++ ++ ++ true ++ true ++ true ++ ++ + + + Level3 +@@ -214,7 +247,7 @@ + + + +- ++ + + + +@@ -222,7 +255,6 @@ + + + +- + + + +@@ -232,4 +264,4 @@ + + + +- +\ No newline at end of file ++ +Only in argon2/vs2015/Argon2OptTestCI: Argon2OptTestCI.vcxproj~ diff --git a/external/argon2/UnpackedTarball_argon2.mk b/external/argon2/UnpackedTarball_argon2.mk index 0b35c2f58caf..3addfad639d5 100644 --- a/external/argon2/UnpackedTarball_argon2.mk +++ b/external/argon2/UnpackedTarball_argon2.mk @@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,argon2,1)) $(eval $(call gb_UnpackedTarball_add_patches,argon2,\ external/argon2/0001-Fix-possible-compiler-error-due-to-undefined-_MSC_VE.patch \ + external/argon2/0002-Add-WinARM64-vcxproj-config.patch \ )) # vim: set noet sw=4 ts=4: -- cgit v1.2.3