The port contributed by Loongson is only verified on old-world [1], which has different compiler flags conventions than the current spec [2]. Plus the DGEMM kernels make use of LASX which is also unavailable in the new-world/open-source compilers. I'm working on a fix. [1]: https://github.com/xianyi/OpenBLAS/pull/3325 [2]: https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3426da5b81db4d54864ea17d31074e0c60d7e35 commit c3426da5b81db4d54864ea17d31074e0c60d7e35 Author: WANG Xuerui <xen0n@gentoo.org> AuthorDate: 2022-05-13 12:44:07 +0000 Commit: WANG Xuerui <xen0n@gentoo.org> CommitDate: 2022-05-13 12:57:27 +0000 sci-libs/openblas: fix build on loong Closes: https://bugs.gentoo.org/844013 Signed-off-by: WANG Xuerui <xen0n@gentoo.org> .../openblas/files/openblas-0.3.20-fix-loong.patch | 178 +++++++++++++++++++++ sci-libs/openblas/openblas-0.3.20.ebuild | 1 + 2 files changed, 179 insertions(+)