Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-llvm: Commit

external/llvm


Commit MetaInfo

Révision3c20a30b6dbfc7fa394e3c74ef7c94ef1cc79bc7 (tree)
l'heure2019-10-05 04:09:49
AuteurMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Message de Log

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)

Change Summary

Modification

--- 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+}
Afficher sur ancien navigateur de dépôt.