allow native compile for windows aarch64
using both --host=aarch64-pc-cygwin and --build=aarch64-pc-cygwin on a suitable system. Change-Id: Id11e25b03de8dd8dd52c63e7a06d57d44e3fce33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150053 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
This commit is contained in:
parent
8029a239cf
commit
d04f1cf937
6 changed files with 12 additions and 7 deletions
|
@ -88,7 +88,7 @@ $(eval $(call gb_Helper_register_executables,NONE, \
|
|||
))
|
||||
|
||||
$(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
|
||||
$(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),climaker)) \
|
||||
$(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),climaker)) \
|
||||
cppumaker \
|
||||
javamaker \
|
||||
$(call gb_CondExeSp2bv,sp2bv) \
|
||||
|
@ -592,7 +592,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
|
|||
|
||||
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
|
||||
affine_uno_uno \
|
||||
$(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),cli_uno)) \
|
||||
$(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
|
||||
i18nlangtag \
|
||||
$(if $(ENABLE_JAVA), \
|
||||
java_uno \
|
||||
|
@ -903,7 +903,7 @@ $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
|
|||
$(eval $(call gb_Helper_register_packages_for_install,sdk,\
|
||||
odk_share_readme \
|
||||
odk_share_readme_generated \
|
||||
$(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
|
||||
$(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
|
||||
odk_config \
|
||||
$(if $(filter WNT,$(OS)),odk_config_win) \
|
||||
odk_docs \
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
$(eval $(call gb_Module_Module,cli_ure))
|
||||
|
||||
ifeq ($(COM),MSC)
|
||||
ifneq ($(CPUNAME),AARCH64)
|
||||
ifneq ($(CPUNAME)_$(CROSS_COMPILING),AARCH64_TRUE)
|
||||
$(eval $(call gb_Module_add_targets,cli_ure,\
|
||||
CliLibrary_cli_basetypes \
|
||||
CliLibrary_cli_ure \
|
||||
|
|
|
@ -14708,6 +14708,11 @@ else
|
|||
# needed for msi packaging
|
||||
pathmunge "$WINDOWS_SDK_BINDIR_NO_ARCH/x86" "before"
|
||||
fi
|
||||
if test "$WIN_BUILD_ARCH" = "arm64"; then
|
||||
# needed for msi packaging - as of 10.0.22621 SDK no arm64 ones yet
|
||||
# the x86 ones probably would work just as well...
|
||||
pathmunge "$WINDOWS_SDK_BINDIR_NO_ARCH/arm" "before"
|
||||
fi
|
||||
# .NET 4.6 and higher don't have bin directory
|
||||
if test -f "$DOTNET_FRAMEWORK_HOME/bin"; then
|
||||
pathmunge "$DOTNET_FRAMEWORK_HOME/bin" "before"
|
||||
|
|
|
@ -27,7 +27,7 @@ odk_PLATFORM := $(if $(filter WNT,$(OS)),windows,\
|
|||
$(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \
|
||||
$(SRCDIR)/odk/util/check.pl \
|
||||
$(if $(DOXYGEN),$(call gb_GeneratedPackage_get_target,odk_doxygen)) \
|
||||
$(foreach exe,$(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),climaker)) cppumaker \
|
||||
$(foreach exe,$(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),climaker)) cppumaker \
|
||||
javamaker uno-skeletonmaker unoapploader unoidl-read unoidl-write,\
|
||||
$(call gb_Executable_get_target,$(exe))) \
|
||||
$(if $(filter WNT,$(OS)),$(call gb_Package_get_target,odk_cli)) \
|
||||
|
|
|
@ -33,7 +33,7 @@ $(eval $(call gb_Module_add_targets,odk,\
|
|||
|
||||
ifeq ($(OS),WNT)
|
||||
$(eval $(call gb_Module_add_targets,odk,\
|
||||
$(if $(filter-out AARCH64,$(CPUNAME)),Package_cli) \
|
||||
$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),Package_cli) \
|
||||
CustomTarget_config_win \
|
||||
Package_config_win \
|
||||
))
|
||||
|
|
|
@ -17,7 +17,7 @@ $(eval $(call gb_Module_add_targets,unoil,\
|
|||
endif
|
||||
|
||||
ifeq ($(COM),MSC)
|
||||
ifneq ($(CPUNAME),AARCH64)
|
||||
ifneq ($(CPUNAME)_$(CROSS_COMPILING),AARCH64_TRUE)
|
||||
$(eval $(call gb_Module_add_targets,unoil,\
|
||||
CliUnoApi_oootypes \
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue