mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
misc: bump onnx
Change-Id: If37b12f2d5588c087aaef639568cd9cd2015f136
This commit is contained in:

committed by
Adrien Béraud

parent
59cb825df5
commit
6aa8ee35e9
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "onnx",
|
||||
"version": "v1.6.0",
|
||||
"version": "v1.12.0",
|
||||
"url": "https://github.com/microsoft/onnxruntime/archive/__VERSION__.tar.gz",
|
||||
"deps": [],
|
||||
"patches": [],
|
||||
|
@ -1,5 +1,5 @@
|
||||
# ONNX
|
||||
ONNX_VERSION := v1.6.0
|
||||
ONNX_VERSION := v1.12.0
|
||||
ONNX_URL := https://github.com/microsoft/onnxruntime.git
|
||||
|
||||
$(TARBALLS)/onnxruntime-$(ONNX_VERSION).tar.xz:
|
||||
@ -30,6 +30,8 @@ ifdef USE_NVIDIA
|
||||
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
|
||||
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
|
||||
cd $< && sh ./build.sh --config Release --build_shared_lib --parallel --skip_tests
|
||||
if [ ! -d "$(PREFIX)/lib/onnxruntime" ] ; then (mkdir $(PREFIX)/lib/onnxruntime) fi
|
||||
|
Reference in New Issue
Block a user