README: Document ARM64 native build on Windows
authorSeungha Yang <seungha@centricular.com>
Tue, 14 Jul 2020 18:51:10 +0000 (03:51 +0900)
committerSeungha Yang <seungha@centricular.com>
Wed, 15 Jul 2020 13:12:28 +0000 (22:12 +0900)
Add some guide for native ARM64 build on Windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/175>

README.md

index f2b0969..815c2ef 100644 (file)
--- a/README.md
+++ b/README.md
@@ -321,6 +321,12 @@ Note that Meson is written entirely in Python, so you can also run it as-is
 from the [git repository](https://github.com/mesonbuild/meson/) if you want to
 use the latest master branch for some reason.
 
+**ARM64 native only**: You might need
+[native upstream ARM64 support fix](https://github.com/mesonbuild/meson/pull/7432)
+which is expected to be a part of Meson 0.55.1.
+If your Meson package version which was installed via `pip3` is lower than 0.55.1,
+then you need to use [the latest master branch](https://github.com/mesonbuild/meson/).
+
 ### Running Meson on Windows
 
 At present, to build with Visual Studio, you need to run Meson from inside the
@@ -330,6 +336,9 @@ that:
 
 ![x64 Native Tools Command Prompt for VS 2019](/data/images/vs-2019-dev-prompt.png)
 
+**ARM64 native only**: Since Visual Studio might not install dedicated command
+prompt for native ARM64 build, you might need to run `vcvarsx86_arm64.bat` on CMD.
+Please refer to [this document](https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=vs-2019#developer_command_file_locations)
 
 ### Setup a mingw/wine based development environment on linux