-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add support for loongarch64 #247
base: master
Are you sure you want to change the base?
Conversation
@wuruilong01 Thanks for letting me know about this. Could you give me more information about this? What's loong64? It appears that the build error from the page you've linked is saying that the test suite can't be run because the I was (naively?) under the impression that all platforms supported the |
LoongArch is a new RISC ISA, which is independently designed by Loongson Technology. LoongArch includes a reduced 32-bit version (LA32R), a standard 32-bit version (LA32S) and a 64-bit version (LA64). Loongson and LoongArch documentations: The ISAs, ABIs and OS we support are: Open-source tool chain (Binutils, Gcc and glibc) are already upstream. |
I didn't do much experimenting, but saw the data and the connections are as follows:https://github.com/commercialhaskell/stack/issues/680 |
Do you have any thoughts on these questions? I'm somewhat reluctant to add more conditionals to the cabal file to support an architecture I don't use and I have never heard of. But if this is a common thing, I'm willing to think about it. What do other projects do here? I would have expected that most Haskell projects (that are shipping an executable) set the I skimmed through commercialhaskell/stack#680, but at least the first couple posts are talking about how |
Since loongarch is already supported by the open source toolchain(Binutils, Gcc and glibc), I think it is a mature architecture and it makes sense to support loongarch. |
Failed to compile on debian, this PR solves the problem. Link to detailed error cause: https://buildd.debian.org/status/fetch.php?pkg=haskell-termonad&arch=loong64&ver=4.5.0.0-1&stamp=1713881680&raw=0