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')
|
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()
|
cpu = host_machine.cpu_family()
|
||||||
supported_cpus = ['arm', 'aarch64', 'x86', 'x86_64']
|
supported_cpus = ['arm', 'aarch64', 'x86', 'x86_64']
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
project('c++ and assembly test')
|
project('c++ and assembly test')
|
||||||
add_languages('cpp')
|
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')
|
cpp = meson.get_compiler('cpp')
|
||||||
cpu = host_machine.cpu_family()
|
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')
|
error('MESON_SKIP_TEST: LLVM IR files can only be built with clang')
|
||||||
endif
|
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')
|
copy = find_program('copyfile.py')
|
||||||
|
|
||||||
copygen = generator(copy,
|
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')
|
error('MESON_SKIP_TEST: assembly files cannot be compiled directly by the compiler')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if meson.backend() == 'xcode'
|
||||||
|
error('MESON_SKIP_TEST: asm not supported with the Xcode backend. Patches welcome.')
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
crt_workaround = []
|
crt_workaround = []
|
||||||
if cc.get_linker_id() == 'lld-link'
|
if cc.get_linker_id() == 'lld-link'
|
||||||
# It seems that when building without a .c file, lld-link.exe
|
# It seems that when building without a .c file, lld-link.exe
|
||||||
|
|
Loading…
Reference in New Issue