-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can't build xformer #909
Comments
You would have to use the supported bazel version. Could you please try building using bazelisk, as that would download the supported bazel version? As in |
Using bazelisk I now do not have that problem, but the build still fails with the following error:
|
I'm not sure what's going wrong. A patch has to be applied to lib_tflite_micro repo, which maybe has not been done. Could you please try these steps, https://github.com/xmos/ai_tools/blob/develop/docs/rst/build-from-source.rst ? |
I hadn't done that, but now I did and I get the same error. |
I was able to compile xformer by manually removing |
Hmmm, I wonder if "-std=c++0x" is an issue. You could try a full clean and rebuild with the instructions from the build-from-source.rst . Another option is to look through https://github.com/xmos/ai_tools/blob/develop/.github/workflows/build-and-test.yml in case you notice something that is different. |
I did run Nothing in particular caught my eye in the I did test what I had to test already by manually patching the bad file, so I don't really need to solve this anymore. I'm not sure if you wanna keep the issue open for tracking or if we should close it considering that it apparently only affects me. |
No worries, I'll close this issue for now. |
I'm not familiar with Bazel, but running
bazel build //:xcore-opt
as suggested in the README fails with the following error:It seems the problem is that for some reason the build system is looking for
lib_tflmc.BUILD
underai_tools/xformer/external
instead of justai_tools/xformer
.Note: I'm trying to build using Bazel 7.2.0, I updated
.bazelversion
to reflect my installed version.The text was updated successfully, but these errors were encountered: