csukuangfj / onnxruntime-libs

onnxruntime pre-compiled libs
81 stars 21 forks source link

arm64 macOS builds are really x86_64 #11

Closed kcoul closed 7 months ago

kcoul commented 8 months ago

lipo -info ./macos-arm64/libonnxruntime.a Non-fat file: ./macos-arm64/libonnxruntime.a is architecture: x86_64

kcoul commented 8 months ago

The universal builds do however seem to have arm64

csukuangfj commented 8 months ago
Screenshot 2024-03-02 at 08 22 33
(py38) fangjuns-MacBook-Pro:Downloads fangjun$ lipo -info onnxruntime-osx-arm64-static_lib-1.17.1/lib/libonnxruntime.a
Non-fat file: onnxruntime-osx-arm64-static_lib-1.17.1/lib/libonnxruntime.a is architecture: arm64

By the way, where did you get your lib? It shows arm64 on my side.

csukuangfj commented 7 months ago

Closing as no response has been received for a long time.