Xcode: disable asm and LLVM ir projects.

pull/8676/head
Jussi Pakkanen 4 years ago
parent 8943945efe
commit 045893bb18
  1. 4
      test cases/common/119 llvm ir and assembly/meson.build
  2. 4
      test cases/common/120 cpp and asm/meson.build
  3. 4
      test cases/common/127 generated llvm ir/meson.build
  4. 5
      test cases/common/128 generated 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']

@ -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…
Cancel
Save