OSDN Git Service

android: shared_llvm.mk: add libLLVMOrcJIT to llvm_device_static_libraries oreo-x86 android-x86-8.1-r6
authorMauro Rossi <issor.oruam@gmail.com>
Tue, 24 Mar 2020 22:37:59 +0000 (23:37 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 24 Mar 2020 22:37:59 +0000 (23:37 +0100)
This change is applied to align the list of ExecutionEngine libraries
built for device to the ones built for host.

Reference AOSP commit is a5aee7a5ff1adcda8b2a1852fed39eb158c563c1
"libLLVM: Add ExecutionEngine and JIT for CrOS llvmpipe"

...

Chrome OS uses software rendering for Android graphics when running in a
VM, specifically Mesa's llvmpipe driver.
llvmpipe needs ExecutionEngine, MCJIT, OrcJIT and RuntimeDyld components
to be added to the LLVM runtime libLLVM.so.

...

NOTE: llvmpipe is not currently used used in android-x86,
but there may be potential kms_swrast (libmesa_winsys_sw_kms_dri) users

shared_llvm.mk

index 919cd69..48a5bcd 100644 (file)
@@ -95,6 +95,7 @@ llvm_device_static_libraries := \
   libLLVM90ExecutionEngine \
   libLLVM90RuntimeDyld \
   libLLVM90MCJIT \
+  libLLVM90OrcJIT \
   libLLVM90JITLink
 
 # HOST LLVM shared library build