Skip to content
Snippets Groups Projects
Commit 6aa8ee35 authored by Aline Gondim Santos's avatar Aline Gondim Santos Committed by Adrien Béraud
Browse files

misc: bump onnx

Change-Id: If37b12f2d5588c087aaef639568cd9cd2015f136
parent 59cb825d
No related branches found
No related tags found
No related merge requests found
{ {
"name": "onnx", "name": "onnx",
"version": "v1.6.0", "version": "v1.12.0",
"url": "https://github.com/microsoft/onnxruntime/archive/__VERSION__.tar.gz", "url": "https://github.com/microsoft/onnxruntime/archive/__VERSION__.tar.gz",
"deps": [], "deps": [],
"patches": [], "patches": [],
......
# ONNX # ONNX
ONNX_VERSION := v1.6.0 ONNX_VERSION := v1.12.0
ONNX_URL := https://github.com/microsoft/onnxruntime.git ONNX_URL := https://github.com/microsoft/onnxruntime.git
$(TARBALLS)/onnxruntime-$(ONNX_VERSION).tar.xz: $(TARBALLS)/onnxruntime-$(ONNX_VERSION).tar.xz:
...@@ -30,6 +30,8 @@ ifdef USE_NVIDIA ...@@ -30,6 +30,8 @@ ifdef USE_NVIDIA
if [ ! -d "$(PREFIX)/lib/onnxruntime" ] ; then (mkdir $(PREFIX)/lib/onnxruntime) fi if [ ! -d "$(PREFIX)/lib/onnxruntime" ] ; then (mkdir $(PREFIX)/lib/onnxruntime) fi
if [ ! -d "$(PREFIX)/lib/onnxruntime/nvidia-gpu" ] ; then (mkdir $(PREFIX)/lib/onnxruntime/nvidia-gpu) fi if [ ! -d "$(PREFIX)/lib/onnxruntime/nvidia-gpu" ] ; then (mkdir $(PREFIX)/lib/onnxruntime/nvidia-gpu) fi
cd $< && cp ./build/Linux/Release/libonnxruntime.so $(PREFIX)/lib/onnxruntime/nvidia-gpu/libonnxruntime.so cd $< && cp ./build/Linux/Release/libonnxruntime.so $(PREFIX)/lib/onnxruntime/nvidia-gpu/libonnxruntime.so
cd $< && cp ./build/Linux/Release/libonnxruntime_providers_shared.so $(PREFIX)/lib/onnxruntime/nvidia-gpu/libonnxruntime_providers_shared.so
cd $< && cp ./build/Linux/Release/libonnxruntime_providers_cuda.so $(PREFIX)/lib/onnxruntime/nvidia-gpu/libonnxruntime_providers_cuda.so
else else
cd $< && sh ./build.sh --config Release --build_shared_lib --parallel --skip_tests cd $< && sh ./build.sh --config Release --build_shared_lib --parallel --skip_tests
if [ ! -d "$(PREFIX)/lib/onnxruntime" ] ; then (mkdir $(PREFIX)/lib/onnxruntime) fi if [ ! -d "$(PREFIX)/lib/onnxruntime" ] ; then (mkdir $(PREFIX)/lib/onnxruntime) fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment