olilarkin / ort-builder

ONNX Runtime static library builder
MIT License
48 stars 13 forks source link

Extended Linux build script; now outputs a combined static library #11

Open faressc opened 7 months ago

faressc commented 7 months ago

This should fix #10. The linux build script now outputs a combined static library named: onnxruntime-linux_x86_64-static-combined.a. Unlike the MacOS build script, I have found that the Linux library requires the addition of the pytorch_cpuinfo-build/deps/clog/libclog.a and /pytorch_cpuinfo-build/libcpuinfo.a libraries to the combined onnxruntime library.