File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ ifeq ($(OS),Darwin)
102
102
ONNX_OS=osx
103
103
ifneq (,$(findstring aarch64,$(shell uname -m)))
104
104
ONNX_ARCH=arm64
105
+ else ifeq (,$(findstring arm64,$(shell uname -m)))
106
+ ONNX_ARCH=arm64
105
107
else
106
108
ONNX_ARCH=x86_64
107
109
endif
@@ -305,7 +307,11 @@ sources/onnxruntime:
305
307
306
308
backend-assets/lib/libonnxruntime.so.1 : backend-assets/lib sources/onnxruntime
307
309
cp -rfv sources/onnxruntime/lib/* backend-assets/lib/
310
+ ifeq ($(OS ) ,Darwin)
311
+ mv backend-assets/lib/libonnxruntime.$(ONNX_VERSION).dylib backend-assets/lib/libonnxruntime.dylib
312
+ else
308
313
mv backend-assets/lib/libonnxruntime.so.$(ONNX_VERSION) backend-assets/lib/libonnxruntime.so.1
314
+ endif
309
315
310
316
# # tiny-dream
311
317
sources/go-tiny-dream :
You can’t perform that action at this time.
0 commit comments