Skip to content

Commit 7f183d2

Browse files
committed
One more attempt at linking
1 parent ece3c65 commit 7f183d2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

kernels/onnxRT/BUILD

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

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+
linkstatic = True,
1819
alwayslink = True,
1920
visibility = ["//visibility:public"]
2021
)

third_party/onnxruntime.BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ cc_library(
375375
# "@onnx_runtime_extensions//:operators",
376376
],
377377
includes= ["onnxruntime/include/onnxruntime"],
378+
linkstatic = True,
378379
alwayslink = True,
379380
visibility = ["//visibility:public"]
380381
)

0 commit comments

Comments
 (0)