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)
commitf90b3a2b007e2bdfa8dc7f3ae75f75e423afcd57
treeb83cdd79e692b42b9167fe187477231693119a5b
parent830fa5896bf7ce73c939dd06ddd670141b19fda9
android: shared_llvm.mk: add libLLVMOrcJIT to llvm_device_static_libraries

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