Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-llvm: Commit

external/llvm


Commit MetaInfo

Revisión3c20a30b6dbfc7fa394e3c74ef7c94ef1cc79bc7 (tree)
Tiempo2019-10-05 04:09:49
AutorMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Log Message

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)

Cambiar Resumen

Diferencia incremental

--- a/Android.bp
+++ b/Android.bp
@@ -277,6 +277,7 @@ cc_library_shared {
277277 "libLLVMMIRParser",
278278 "libLLVMRemarks",
279279 "libLLVMJITLink",
280+ "libLLVMCoroutines",
280281 ],
281282
282283 export_include_dirs: ["include"],
--- /dev/null
+++ b/lib/Transforms/Coroutines/Android.bp
@@ -0,0 +1,7 @@
1+cc_library_static {
2+ name: "libLLVMCoroutines",
3+ defaults: [
4+ "llvm-lib-defaults",
5+ ],
6+ srcs: ["*.cpp"],
7+}
Show on old repository browser