onnxruntime
192ef6b8 - Fix protoc error when cross compiling on a linux aarch64 host (#28567)

Commit
2 days ago
Fix protoc error when cross compiling on a linux aarch64 host (#28567) ### Description Without this change, `./build.sh --config MinSizeRel --build_wasm --skip_tests --target onnxruntime_webassembly --compile_no_warning_as_error --parallel` fails on Asahi Linux: ``` -- Fetch protoc_binary from https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_32.zip <snip> /bin/sh: line 1: ../protoc_binary-src/bin/protoc: cannot execute binary file: Exec format error ``` The command succeeds with this change.
Parents
Loading