* [PATCH] Recognize RISC-V compilation targets.
@ 2018-02-26 1:34 Shea Levy
2018-03-15 13:23 ` Shea Levy
2018-03-16 3:20 ` Mark H Weaver
0 siblings, 2 replies; 4+ messages in thread
From: Shea Levy @ 2018-02-26 1:34 UTC (permalink / raw)
To: guile-devel; +Cc: Shea Levy
* module/system/base/target.scm (cpu-endianness): Add case for "riscv" variants.
Signed-off-by: Shea Levy <shea@shealevy.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 95ab8d8c9..93616f4a3 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -86,6 +86,8 @@
(endianness big))
((string=? "aarch64" cpu)
(endianness little))
+ ((string-match "riscv[1-9][0-9]*" cpu)
+ (endianness little))
(else
(error "unknown CPU endianness" cpu)))))
--
2.16.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Recognize RISC-V compilation targets.
2018-02-26 1:34 [PATCH] Recognize RISC-V compilation targets Shea Levy
@ 2018-03-15 13:23 ` Shea Levy
2018-03-16 3:20 ` Mark H Weaver
1 sibling, 0 replies; 4+ messages in thread
From: Shea Levy @ 2018-03-15 13:23 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
Hi all,
Any thoughts on this?
Thanks,
Shea
Shea Levy <shea@shealevy.com> writes:
> * module/system/base/target.scm (cpu-endianness): Add case for "riscv" variants.
>
> Signed-off-by: Shea Levy <shea@shealevy.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 95ab8d8c9..93616f4a3 100644
> --- a/module/system/base/target.scm
> +++ b/module/system/base/target.scm
> @@ -86,6 +86,8 @@
> (endianness big))
> ((string=? "aarch64" cpu)
> (endianness little))
> + ((string-match "riscv[1-9][0-9]*" cpu)
> + (endianness little))
> (else
> (error "unknown CPU endianness" cpu)))))
>
> --
> 2.16.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Recognize RISC-V compilation targets.
2018-02-26 1:34 [PATCH] Recognize RISC-V compilation targets Shea Levy
2018-03-15 13:23 ` Shea Levy
@ 2018-03-16 3:20 ` Mark H Weaver
2018-03-16 13:07 ` Shea Levy
1 sibling, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2018-03-16 3:20 UTC (permalink / raw)
To: Shea Levy; +Cc: guile-devel
Hi Shea, sorry for the delay.
Shea Levy <shea@shealevy.com> writes:
> * module/system/base/target.scm (cpu-endianness): Add case for "riscv"
> variants.
Applied in commit 08bb4628369cf3efe7c96a32919705c41a9ed9e9 of the
stable-2.2 branch, so it will be included in Guile-2.2.4.
Thank you for working on RISC-V. That project gives me hope :)
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Recognize RISC-V compilation targets.
2018-03-16 3:20 ` Mark H Weaver
@ 2018-03-16 13:07 ` Shea Levy
0 siblings, 0 replies; 4+ messages in thread
From: Shea Levy @ 2018-03-16 13:07 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guile-devel
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
Great, thanks! I'm fairly new to the project myself, and seeing how well
things are progressing and the quality of the team has inspired me as
well :)
~Shea
Mark H Weaver <mhw@netris.org> writes:
> Hi Shea, sorry for the delay.
>
> Shea Levy <shea@shealevy.com> writes:
>> * module/system/base/target.scm (cpu-endianness): Add case for "riscv"
>> variants.
>
> Applied in commit 08bb4628369cf3efe7c96a32919705c41a9ed9e9 of the
> stable-2.2 branch, so it will be included in Guile-2.2.4.
>
> Thank you for working on RISC-V. That project gives me hope :)
>
> Mark
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-16 13:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26 1:34 [PATCH] Recognize RISC-V compilation targets Shea Levy
2018-03-15 13:23 ` Shea Levy
2018-03-16 3:20 ` Mark H Weaver
2018-03-16 13:07 ` Shea Levy
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).