Skip to content

Commit c8af5b6

Browse files
KnightJunluadebug
andauthored
Fix a dylib problem that fails to find onnxruntime (#7291)
* Fix a dylib problem that fails to find onnxruntime * Enforce `shared` option because download links point to precompiled shared library --------- Co-authored-by: Saikari <[email protected]>
1 parent 319d2d7 commit c8af5b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/o/onnxruntime/xmake.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package("onnxruntime")
55

66
add_configs("gpu", {description = "Enable GPU support on windows|x64 and linux|x86_64", default = false, type = "boolean"})
77
add_configs("cuda_version", {description = "Specify which CUDA version to use for GPU support", default = "11", type = "string"})
8+
add_configs("shared", {description = "Download shared binaries.", default = true, type = "boolean", readonly = true})
89

910
if is_plat("windows") then
1011
if is_arch("x64") then

0 commit comments

Comments
 (0)