From 6a56291a2a7dc5ea1443f29f3715c7491152f034 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 4 Dec 2018 20:12:20 +0000 Subject: Add a test run of MSVC ARM64 cross on Windows x64 Add a cross-file for MSVC UWP ARM64. Bump cidata tag to get an updated install.ps1 script (run by run.ps1) which sets the vcvars environment correctly when cross-compiling. Since arranging the correct environment for simultaneous cross and native 'cl' use is hard, this is test run uses '--cross-only' so we don't require a native compiler. Extend '--cross-only' so it also explicitly uses a machine file which makes all build machine compilers unusable. --- cross/arm64cl.txt | 17 +++++++++++++++++ cross/none.txt | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 cross/arm64cl.txt create mode 100644 cross/none.txt (limited to 'cross') diff --git a/cross/arm64cl.txt b/cross/arm64cl.txt new file mode 100644 index 000000000..2d7bf2dc1 --- /dev/null +++ b/cross/arm64cl.txt @@ -0,0 +1,17 @@ +[binaries] +c = 'cl' +cpp = 'cl' +ar = 'lib' +windres = 'rc' + +[properties] +c_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP'] +c_link_args = ['-APPCONTAINER', 'WindowsApp.lib'] +cpp_args = ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP'] +cpp_link_args = ['-APPCONTAINER', 'WindowsApp.lib'] + +[host_machine] +system = 'windows' +cpu_family = 'aarch64' +cpu = 'armv8' +endian = 'little' diff --git a/cross/none.txt b/cross/none.txt new file mode 100644 index 000000000..8727e27f4 --- /dev/null +++ b/cross/none.txt @@ -0,0 +1,18 @@ +# native file used to make the build machine compiler unusable + +[host_machine] +system = 'none' +cpu_family = 'none' +cpu = 'none' +endian = 'little' + +[properties] + +[binaries] +c = ['false'] +cpp = ['false'] +objc = ['false'] +objcpp = ['false'] +ar = ['false'] +pkgconfig = ['false'] +cmake = ['false'] -- cgit v1.2.1