diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-18 20:29:42 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-19 17:59:40 +0300 |
commit | 045893bb183b289376c45d2f8d1e43de1af93b35 (patch) | |
tree | 367f87ab6070768fc59a98add2cb9f289628a79b | |
parent | 8943945efe9df6c4bb07d67d91c9f372da353199 (diff) | |
download | meson-045893bb183b289376c45d2f8d1e43de1af93b35.zip meson-045893bb183b289376c45d2f8d1e43de1af93b35.tar.gz meson-045893bb183b289376c45d2f8d1e43de1af93b35.tar.bz2 |
Xcode: disable asm and LLVM ir projects.
4 files changed, 17 insertions, 0 deletions
diff --git a/test cases/common/119 llvm ir and assembly/meson.build b/test cases/common/119 llvm ir and assembly/meson.build index fd07d87..2aec7f0 100644 --- a/test cases/common/119 llvm ir and assembly/meson.build +++ b/test cases/common/119 llvm ir and assembly/meson.build @@ -1,5 +1,9 @@ project('llvm-ir', 'c', 'cpp') +if meson.backend() == 'xcode' + error('MESON_SKIP_TEST: asm not supported with the Xcode backend. Patches welcome.') +endif + cpu = host_machine.cpu_family() supported_cpus = ['arm', 'aarch64', 'x86', 'x86_64'] diff --git a/test cases/common/120 cpp and asm/meson.build b/test cases/common/120 cpp and asm/meson.build index ec7c466..99713d4 100644 --- a/test cases/common/120 cpp and asm/meson.build +++ b/test cases/common/120 cpp and asm/meson.build @@ -1,6 +1,10 @@ project('c++ and assembly test') add_languages('cpp') +if meson.backend() == 'xcode' + error('MESON_SKIP_TEST: asm not supported with the Xcode backend. Patches welcome.') +endif + cpp = meson.get_compiler('cpp') cpu = host_machine.cpu_family() diff --git a/test cases/common/127 generated llvm ir/meson.build b/test cases/common/127 generated llvm ir/meson.build index 111cdc0..e5c68bc 100644 --- a/test cases/common/127 generated llvm ir/meson.build +++ b/test cases/common/127 generated llvm ir/meson.build @@ -4,6 +4,10 @@ if meson.get_compiler('c').get_id() != 'clang' error('MESON_SKIP_TEST: LLVM IR files can only be built with clang') endif +if meson.backend() == 'xcode' + error('MESON_SKIP_TEST: LLMV ir not supported with the Xcode backend. Patches welcome.') +endif + copy = find_program('copyfile.py') copygen = generator(copy, diff --git a/test cases/common/128 generated assembly/meson.build b/test cases/common/128 generated assembly/meson.build index b256630..9d406cf 100644 --- a/test cases/common/128 generated assembly/meson.build +++ b/test cases/common/128 generated assembly/meson.build @@ -10,6 +10,11 @@ if ['msvc', 'intel-cl'].contains(cc.get_id()) error('MESON_SKIP_TEST: assembly files cannot be compiled directly by the compiler') endif +if meson.backend() == 'xcode' + error('MESON_SKIP_TEST: asm not supported with the Xcode backend. Patches welcome.') +endif + + crt_workaround = [] if cc.get_linker_id() == 'lld-link' # It seems that when building without a .c file, lld-link.exe |