guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RISCV porting effort


From: Efraim Flashner
Subject: Re: RISCV porting effort
Date: Sun, 3 Jul 2022 12:07:24 +0300

On Thu, Jun 30, 2022 at 02:01:19PM +0200, Ludovic Courtès wrote:
> Howdy,
> 
> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
> > (ins)efraim@3900XT ~/workspace/guix$ time ./pre-inst-env guix weather -s 
> > riscv64-linux --substitute-urls="http://localhost:3000"; -c100
> > computing 15,205 package derivations for riscv64-linux...
> > looking for 15,948 store items on http://localhost:3000...
> > http://localhost:3000
> >   14.3% substitutes available (2,274 out of 15,948)
> 
> Not bad!
> 
> Was it all built on a HiFive, or through emulated builds?

All on the HiFive. For some of the longer builds, like when I was
fiddling with llvm@9 and llvm@12 I emulated riscv64 on my machine so the
build was ~2 hours instead of ~6 hours, but after it built I garbage
collected it and rebuilt it on the native hardware.

> > Some notes:
> > * rust is definitely TODO
> > * GHC shouldn't be there on the list.
> > * gccgo should replace go@1.4. Currently I can't use gccgo@10 to build
> >   go@1.16.15, 1.17.9 or 1.17.11 on riscv64. gccgo@10 works for
> >   go@1.16.15 and 1.17.11.
> > * postgresql@13.6 I think is missing a patch currently
> > * libunwind isn't supported until 1.6.*
> > * valgrind isn't supported
> > * classpath@0.93 is the java bootstrap path
> > * openlibm, tbb and libunwind-julia are for julia
> > * node@10 doesn't (yet) recognize riscv64
> >
> > After that I don't remember offhand. I'm not sure I've tried yet to
> > build anything after ~170 so those can be ignored.
> 
> My guess is that upstream doesn’t go much further than you did, so
> thumbs up!

I just bumped libunwind on staging to 1.6.2 so that'll be available
eventually.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]