Fix bazel BUILD

Signed-off-by: Kainan Cha <kainan.zha@verisilicon.com>
This commit is contained in:
Kainan Cha 2021-10-20 16:15:54 +08:00
parent 99db6ab69d
commit e111c35d9f
2 changed files with 5 additions and 3 deletions

1
.bazelversion Normal file
View File

@ -0,0 +1 @@
3.1.0

7
BUILD
View File

@ -8,10 +8,10 @@ cc_library(
includes = [
"include"
],
hdrs =
hdrs =
glob(["include/tim/utils/nbg_parser/*.h"])
,
srcs =
srcs =
glob(["src/tim/utils/nbg_parser/*.c"])
,
linkstatic = True,
@ -24,6 +24,7 @@ cc_library(
includes = [
"include",
"src/tim/vx",
"src/tim/transform",
],
hdrs = [
"include/tim/vx/context.h",
@ -31,7 +32,7 @@ cc_library(
"include/tim/vx/operation.h",
"include/tim/vx/tensor.h",
"include/tim/vx/types.h",
"include/tim/transform/layout_inference.h"
"include/tim/transform/layout_inference.h",
] + glob([
"include/tim/vx/ops/*.h"
]),