Skip to content

Commit ece3c65

Browse files
committed
Uncommenting ort test
1 parent 05720a4 commit ece3c65

File tree

3 files changed

+26
-24
lines changed

3 files changed

+26
-24
lines changed

kernels/onnxRT/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ cc_library(
1616
"//:corevx",
1717
"@onnx_runtime//:onnxruntime_lib",
1818
],
19+
alwayslink = True,
1920
visibility = ["//visibility:public"]
2021
)

targets/onnxRT/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ cc_library(
1515
"//:corevx",
1616
"//kernels/onnxRT:ort_kernels",
1717
],
18+
alwayslink = True,
1819
visibility = ["//visibility:public"]
1920
)
2021

tests/integration_test/BUILD

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# cc_test(
2-
# name = "test_ort",
3-
# srcs = [
4-
# "test_ort.cpp"
5-
# ],
6-
# deps = [
7-
# "//:corevx",
8-
# "@googletest//:gtest_main",
9-
# "//targets/c_model:imported_openvx_c_model",
10-
# "//targets/debug:imported_openvx_debug",
11-
# "//targets/extras:imported_openvx_extras",
12-
# "//targets/opencl:imported_openvx_opencl",
13-
# "//targets/onnxRT:imported_openvx_onnxRT",
14-
# ],
15-
# linkopts = select({
16-
# "@platforms//os:linux": ["-Wl,-rpath,$ORIGIN"],
17-
# "@platforms//os:macos": ["-Wl,-rpath,@executable_path"],
18-
# "//conditions:default": [],
19-
# }),
20-
# data = [
21-
# "//tests/raw:models",
22-
# ],
23-
# size = "small"
24-
# )
1+
cc_test(
2+
name = "test_ort",
3+
srcs = [
4+
"test_ort.cpp"
5+
],
6+
deps = [
7+
"//:corevx",
8+
"@googletest//:gtest_main",
9+
"//targets/c_model:imported_openvx_c_model",
10+
"//targets/debug:imported_openvx_debug",
11+
"//targets/extras:imported_openvx_extras",
12+
"//targets/opencl:imported_openvx_opencl",
13+
"//targets/onnxRT:imported_openvx_onnxRT",
14+
],
15+
linkopts = select({
16+
"@platforms//os:linux": ["-Wl,-rpath,$ORIGIN"],
17+
"@platforms//os:macos": ["-Wl,-rpath,@executable_path"],
18+
"//conditions:default": [],
19+
}),
20+
data = [
21+
"//tests/raw:models",
22+
],
23+
size = "small"
24+
)
2525

2626
cc_test(
2727
name = "test_tflite",

0 commit comments

Comments
 (0)