[Build] "error: package directory 'onnxruntime/backend' does not exist" on MacOS/arm64 #22942
Labels
build
build issues; typically submitted using template
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
Using the documentation here:
https://onnxruntime.ai/docs/build/inferencing.html
I want to build a python wheel with custom code.
I run the macos build process without problem; all tests succeed.
I install protobufs, as directed.
I execute:
And then it fails with:
error: package directory 'onnxruntime/backend' does not exist
Which it does not.
That directory structure:
Urgency
No response
Target platform
MacOs ARM
Build script
./build.sh --config RelWithDebInfo --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --cmake_extra_defines CMAKE_OSX_ARCHITECTURES=arm64
Followed by:
Error / output
Visual Studio Version
No response
GCC / Compiler Version
Apple clang version 15.0.0 (clang-1500.3.9.4) Target: arm64-apple-darwin23.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
The text was updated successfully, but these errors were encountered: