Make GPU delegate shared library names consistent
* libtflite_gpu_gl.so -> libtensorflowlite_gpu_gl.so * libtflite_gpu_metal.so -> libtensorflowlite_gpu_metal.so PiperOrigin-RevId: 246045504
This commit is contained in:
parent
b962b1f193
commit
0a82623b59
@ -85,9 +85,9 @@ objc_library(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
# build -c opt --config android_arm64 --copt -Os --copt -DTFLITE_GPU_BINARY_RELEASE --copt -fvisibility=hidden --linkopt -s --strip always :libtflite_gpu_gl.so
|
# build -c opt --config android_arm64 --copt -Os --copt -DTFLITE_GPU_BINARY_RELEASE --copt -fvisibility=hidden --linkopt -s --strip always :libtensorflowlite_gpu_gl.so
|
||||||
cc_binary(
|
cc_binary(
|
||||||
name = "libtflite_gpu_gl.so",
|
name = "libtensorflowlite_gpu_gl.so",
|
||||||
linkopts = select({
|
linkopts = select({
|
||||||
"//tensorflow:android": [
|
"//tensorflow:android": [
|
||||||
"-lEGL",
|
"-lEGL",
|
||||||
@ -104,9 +104,9 @@ cc_binary(
|
|||||||
deps = [":gl_delegate"],
|
deps = [":gl_delegate"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# build -c opt --config ios_arm64 --copt -Os --copt -DTFLITE_GPU_BINARY_RELEASE --copt -fvisibility=hidden --linkopt -s --strip always :libtflite_gpu_metal.so
|
# build -c opt --config ios_arm64 --copt -Os --copt -DTFLITE_GPU_BINARY_RELEASE --copt -fvisibility=hidden --linkopt -s --strip always :libtensorflowlite_gpu_metal.so
|
||||||
cc_binary(
|
cc_binary(
|
||||||
name = "libtflite_gpu_metal.so",
|
name = "libtensorflowlite_gpu_metal.so",
|
||||||
linkshared = 1,
|
linkshared = 1,
|
||||||
linkstatic = 1,
|
linkstatic = 1,
|
||||||
tags = [
|
tags = [
|
||||||
|
Loading…
Reference in New Issue
Block a user