onnxruntime 编译

  1. 编译 CMake

Cmake无root权限安装出现Linking C executable curltest错误
1.
不是用./bootstrap,也不是 ./configure
而是用 ./bootstrap --system-curl
2. gmake

1、首先是onnxruntime源码下载

源码地址:onnxruntime

# 必须--recursive, 否则很多库文件下载不齐
git clone --recursive https://github.com/microsoft/onnxruntime.git

编译报错的绝大部分的原因是git clone没有下载完成,里面嵌套了很多git,需要–recursive下载

Ubuntu下安装和编译onnxruntime
https://www.yii666.com/blog/451141.html

记录一次艰难的onnxtuntime源码编译过程
https://blog.csdn.net/weixin_40437821/article/details/114491673

posted @ 2023-06-08 10:18  汉学  阅读(396)  评论(0)    收藏  举报