endif
llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit']
-llvm_optional_modules = []
+llvm_optional_modules = ['coroutines']
if with_amd_vk or with_gallium_radeonsi or with_gallium_r600
llvm_modules += ['amdgpu', 'native', 'bitreader', 'ipo']
if with_gallium_r600
'lto', 'option', 'objcarcopts', 'profiledata',
]
endif
-if with_gallium_opencl or with_gallium_softpipe
- llvm_optional_modules += ['coroutines']
-endif
if with_amd_vk or with_gallium_radeonsi
_llvm_version = '>= 8.0.0'