Xcode: disable asm and LLVM ir projects.
This commit is contained in:
parent
8943945efe
commit
045893bb18
|
@ -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']
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue