From: Zhang Ning <zhangn1985@outlook.com>
To: guile-devel@gnu.org
Subject: [PATCH] Recognize LoongArch compilation targets.
Date: Wed, 2 Nov 2022 13:15:59 +0800 [thread overview]
Message-ID: <OS0P286MB0641B507E9C4F6151E59B6A5CD399@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM> (raw)
* module/system/base/target.scm (cpu-endianness): Add case for "Loongarch" variants
Signed-off-by: Zhang Ning <zhangn1985@outlook.com>
---
module/system/base/target.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index 87ab5b0c4..a218daa52 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -101,6 +101,8 @@
(endianness little))
((string-match "riscv[1-9][0-9]*" cpu)
(endianness little))
+ ((string-match "loongarch[1-9][0-9]*" cpu)
+ (endianness little))
(else
(error "unknown CPU endianness" cpu)))))
--
2.38.1
next reply other threads:[~2022-11-02 5:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 5:15 Zhang Ning [this message]
2022-12-21 7:55 ` [PATCH] Recognize LoongArch compilation targets lloda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OS0P286MB0641B507E9C4F6151E59B6A5CD399@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM \
--to=zhangn1985@outlook.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).