Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if protobuf compiler test_gemm compilation fails with: *** target pattern contains no '%'. Stop. #38

Open
berndporr opened this issue Sep 7, 2024 · 2 comments

Comments

@berndporr
Copy link

It took me quite a while to fix this as the error message is completely opaque:

CMakeFiles/dlprim_onnx.dir/build.make:73: *** target pattern contains no '%'. Stop.
make[1]: *** [CMakeFiles/Makefile2:515: CMakeFiles/dlprim_onnx.dir/all] Error 2

cmake generates protobuf::protoc as a placeholder when the protoc is not found. See here: Ultimaker/libArcus#108 (comment)

It's fixed with installing the protobuf compiler:

sudo apt install protobuf-compiler

It would be good to check in the cmake script if the compiler exists but not sure how to do that!

@artyom-beilis
Copy link
Owner

Strange. FindProtobuf cmake does not even have a category for protobuf compiler. I expected it to fail building onnx code.

@berndporr
Copy link
Author

Indeed strange. One would expect that failing as you said.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants