Build XNNPACK delegate as a static library
This is a work-around for improper linking of libXNNPACK.a into libxnnpack_delegate.so in Mac builds. PiperOrigin-RevId: 293326598 Change-Id: I5e522604e34d766d8aca8cf2fc0292e4240e4cff
This commit is contained in:
parent
98bffc9a72
commit
6e5d3265bc
@ -18,6 +18,7 @@ cc_library(
|
||||
name = "xnnpack_delegate",
|
||||
srcs = ["xnnpack_delegate.cc"],
|
||||
hdrs = ["xnnpack_delegate.h"],
|
||||
linkstatic = True,
|
||||
deps = [
|
||||
"//tensorflow/lite:kernel_api",
|
||||
"//tensorflow/lite:util",
|
||||
|
Loading…
Reference in New Issue
Block a user