unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] Recognize LoongArch compilation targets.
@ 2022-11-02  5:15 Zhang Ning
  2022-12-21  7:55 ` lloda
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Ning @ 2022-11-02  5:15 UTC (permalink / raw)
  To: guile-devel

* 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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Recognize LoongArch compilation targets.
  2022-11-02  5:15 [PATCH] Recognize LoongArch compilation targets Zhang Ning
@ 2022-12-21  7:55 ` lloda
  0 siblings, 0 replies; 2+ messages in thread
From: lloda @ 2022-12-21  7:55 UTC (permalink / raw)
  To: Zhang Ning; +Cc: guile-devel


Pushed to f3ea8f7fa1d84a559c7bf834fe5b675abe0ae7b8.

Thank you!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-21  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02  5:15 [PATCH] Recognize LoongArch compilation targets Zhang Ning
2022-12-21  7:55 ` lloda

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).