-
Notifications
You must be signed in to change notification settings - Fork 558
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
OpenBLAS: Build for riscv64 #10099
base: master
Are you sure you want to change the base?
OpenBLAS: Build for riscv64 #10099
Conversation
It's the same error I've got trying to compile openblas on a RISC-V board with gcc 14 |
In any case the header file was introduced in gcc 13: gcc-mirror/gcc@7d935cd. I believe we should change https://github.com/JuliaPackaging/BinaryBuilderBase.jl/blob/a548ba29890d3182961d6e477578beea8ffc3e27/src/Rootfs.jl#L478 to allow gcc 13+ only, we need a capable compiler, not an incomplete one. |
It doesn't work with GCC 13 either. I think the missing header file is part of an extension. We don't target this extension in our default ABI. |
It doesn't matter in the dynamic arch build, openblas build system sets compiler flags for the various extensions and then picks up the right kernels at runtime. This is what we do on all other architectures. |
If I'm reading Yggdrasil/O/OpenBLAS/common.jl Lines 187 to 188 in 55f29af
|
Yes, it's different. The missing header file is there, it's now about a type mismatch. That could be a problem in GCC or in OpenBLAS. |
I'm trying to build |
I think we want GCC 14: https://gcc.gnu.org/gcc-14/changes.html : "Support for the vector intrinsics as specified in version 1.0 of the RISC-V vector intrinsic specification." |
No description provided.