diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-18 20:29:42 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-18 20:29:42 +0300 |
commit | aaa8a828cb2b50394457894d70952d92f0fe76bd (patch) | |
tree | c37a0edb40dd48ec45bb9ed05ea6a804398a838f | |
parent | 72428b5907caa2f06356308ab014f9d1b2c5755b (diff) | |
download | meson-aaa8a828cb2b50394457894d70952d92f0fe76bd.zip meson-aaa8a828cb2b50394457894d70952d92f0fe76bd.tar.gz meson-aaa8a828cb2b50394457894d70952d92f0fe76bd.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 |