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

[Doc] RISC-V cross compile instructions in web-site build fail #11152

Closed
rednoah91 opened this issue Nov 14, 2022 · 0 comments · Fixed by #11159
Closed

[Doc] RISC-V cross compile instructions in web-site build fail #11152

rednoah91 opened this issue Nov 14, 2022 · 0 comments · Fixed by #11159
Assignees
Labels
documentation ✏️ Improvements or additions to documentation

Comments

@rednoah91
Copy link
Contributor

The build instruction in https://iree-org.github.io/iree/building-from-source/riscv/#risc-v-64-bit-linux-target may needs to add -DIREE_ENABLE_CPUINFO=OFF, otherwise will get build error like:

iree/third_party/cpuinfo/src/api.c:319:23: error: call to undeclared function 'syscall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                if CPUINFO_UNLIKELY(syscall(__NR_getcpu, &cpu, NULL, NULL) != 0) {

I suggest to update the web-site doc temporarily until this cpuinfo issue is fixed. Does anyone can help it?

@ScottTodd ScottTodd added the documentation ✏️ Improvements or additions to documentation label Nov 14, 2022
@hcindyl hcindyl linked a pull request Nov 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation ✏️ Improvements or additions to documentation
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants