external/llvm
Revisión | 3c20a30b6dbfc7fa394e3c74ef7c94ef1cc79bc7 (tree) |
---|---|
Tiempo | 2019-10-05 04:09:49 |
Autor | Mauro Rossi <issor.oruam@gmai...> |
Commiter | Mauro Rossi |
android: Coroutines: add support for libLLVMCoroutines
Fixes the following building error with mesa 19.3 branch:
FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
...
external/mesa/src/gallium/auxiliary/gallivm/lp_bld_init.c:137: error: undefined reference to 'LLVMAddCoroEarlyPass'
external/mesa/src/gallium/auxiliary/gallivm/lp_bld_init.c:138: error: undefined reference to 'LLVMAddCoroSplitPass'
external/mesa/src/gallium/auxiliary/gallivm/lp_bld_init.c:139: error: undefined reference to 'LLVMAddCoroElidePass'
external/mesa/src/gallium/auxiliary/gallivm/lp_bld_init.c:169: error: undefined reference to 'LLVMAddCoroCleanupPass'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
@@ -277,6 +277,7 @@ cc_library_shared { | ||
277 | 277 | "libLLVMMIRParser", |
278 | 278 | "libLLVMRemarks", |
279 | 279 | "libLLVMJITLink", |
280 | + "libLLVMCoroutines", | |
280 | 281 | ], |
281 | 282 | |
282 | 283 | export_include_dirs: ["include"], |
@@ -0,0 +1,7 @@ | ||
1 | +cc_library_static { | |
2 | + name: "libLLVMCoroutines", | |
3 | + defaults: [ | |
4 | + "llvm-lib-defaults", | |
5 | + ], | |
6 | + srcs: ["*.cpp"], | |
7 | +} |