diff options
author | Seungha Yang <seungha@centricular.com> | 2021-09-28 23:04:29 +0900 |
---|---|---|
committer | Seungha Yang <seungha@centricular.com> | 2021-09-28 23:32:52 +0900 |
commit | b8a83aaf62d908b5750627173f37f8a40ec65d00 (patch) | |
tree | d2c051c32a48334a9c1daecb18e097375d044d99 /meson.build | |
parent | d8b81c2e35854dd84e99065d3a16d4183b27f916 (diff) | |
download | orc-b8a83aaf62d908b5750627173f37f8a40ec65d00.tar.gz |
meson: Disable ARM64 support for Windows
Disable Windows ARM64 support/build for now, because it doesn't work.
Fixes: https://gitlab.freedesktop.org/gstreamer/orc/-/issues/36
Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/61>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meson.build b/meson.build index d175b53..4b2d5bd 100644 --- a/meson.build +++ b/meson.build @@ -53,6 +53,7 @@ foreach b : all_backends endforeach cpu_family = host_machine.cpu_family() +host_system = host_machine.system() if cpu_family == 'x86' cdata.set('HAVE_I386', true) elif cpu_family == 'x86_64' @@ -61,12 +62,14 @@ elif cpu_family == 'ppc' or cpu_family == 'ppc64' cdata.set('HAVE_POWERPC', true) elif cpu_family == 'arm' cdata.set('HAVE_ARM', true) -elif cpu_family == 'aarch64' +# TODO: Add support for Windows +# https://gitlab.freedesktop.org/gstreamer/orc/-/issues/38 +elif cpu_family == 'aarch64' and host_system != 'windows' cdata.set('HAVE_AARCH64', true) elif cpu_family == 'mips' and host_machine.endian() == 'little' cdata.set('HAVE_MIPSEL', true) else - warning(cpu_family + ' isn\'t a supported cpu family for optimization') + warning(cpu_family + ' with ' + host_system + ' isn\'t a supported configuration for optimization') endif threads = dependency('threads') |