Fixes: d32690b43c91 ("gallivm: add coroutine pass manager support")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
else:
components = ['engine', 'mcjit', 'bitwriter', 'mcdisassembler', 'irreader']
+ if llvm_version >= distutils.version.LooseVersion('8.0'):
+ components.append('coroutines')
+
env.ParseConfig('%s --libs ' % llvm_config + ' '.join(components))
env.ParseConfig('%s --ldflags' % llvm_config)
if llvm_version >= distutils.version.LooseVersion('3.5'):