OSDN Git Service

android: Coroutines: add support for libLLVMCoroutines
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 22 Sep 2019 17:52:06 +0000 (19:52 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Thu, 15 Apr 2021 11:05:06 +0000 (13:05 +0200)
commitf6bd65d89746d95d573a8cb4bc3a3f8a1f7e953a
tree172feb227a553d365637000584ee317c11ca2a21
parent136e6276f7743b05561c40dcc033f18f75d48312
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)
llvm/Android.bp
llvm/lib/Transforms/Coroutines/Android.bp [new file with mode: 0644]