!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

238 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 72 Servers

Load older messages


SenderMessageTime
5 Apr 2024
@thefossguy:matrix.orgPratham Patel (you can mention me) Nice work, thank you
- a NixOS user
11:31:00
@alex:tunstall.xyzAlex
In reply to @liberodark:matrix.org
If you need to work on RISC-V servers, don't hesitate to ask me, I will provide some for free.
Are you able to share the specs of those servers? Esp. CPU model
11:31:17
@liberodark:matrix.orgliberodarkI don't want to advertise here so I won't put the link to my RISC-V project here, I don't want to spam but don't hesitate to ping me.11:31:28
@liberodark:matrix.orgliberodark
In reply to @alex:tunstall.xyz
Are you able to share the specs of those servers? Esp. CPU model
Yes
11:31:34
@liberodark:matrix.orgliberodarkIm go to share C920 C910 & JH711011:31:56
@liberodark:matrix.orgliberodark * Im go to share SoC : C920 C910 & JH711011:34:06
@liberodark:matrix.orgliberodarkCurrently it is Debian which is offered on my infrastructure. But I can make the C910 and JH7110 completely available to you in case you want to have nixos on it, which I would understand.11:35:25
@liberodark:matrix.orgliberodarkIf of course it can be useful to you.11:36:28
@liberodark:matrix.orgliberodarkBest Regards11:36:31
@lsbgkdlpqhswnccwnabaflt:matrix.orgsmrtak joined the room.17:34:09
@hive:the-apothecary.clubtau Alex have you encountered an issue with openldap-2.6.7-riscv64-linux 23:36:17
6 Apr 2024
@alex:tunstall.xyzAlex
In reply to @hive:the-apothecary.club
Alex have you encountered an issue with openldap-2.6.7-riscv64-linux

I don't appear to have built it recently.

(At the moment I'm focused on building GHC, so it's unlikely I've built anything outside of the closure of GHC or a full NixOS system.)

00:41:34
@hive:the-apothecary.clubtaualright00:41:53
@hive:the-apothecary.clubtauas far as i know this is something you would need for a full nixos system but i could be wrong00:42:34
@alex:tunstall.xyzAlex
In reply to @hive:the-apothecary.club
as far as i know this is something you would need for a full nixos system but i could be wrong

Nope.

[nixos@nixos:~]$ nix-store -qR /run/current-system | grep -we openldap

[nixos@nixos:~]$
00:43:54
@hive:the-apothecary.clubtaurats00:44:54
@alex:tunstall.xyzAlex (And this system is on a recent nixos-unstable commit) 00:44:56
@hive:the-apothecary.clubtauis there a way to see what it's being required by ?00:46:14
@hive:the-apothecary.clubtau
┃                            │        ┌─ ⚠ openldap-2.6.7-riscv64-linux failed with exit code 2 after ⏱ 49m29s in checkPhase                                                                                                                                                                                 
┃                            │     ┌─ ⏸ apr-util-1.6.3-riscv64-linux                                                                                                                                                                                                                                         
┃                            │  ┌─ ⏸ serf-1.3.10-riscv64-linux                                                                                                                                                                                                                                               
┃                            ├─ ⏸ subversion-client-1.14.3-riscv64-linux                                                                                                                                                                                                                                     
┃                         ┌─ ⏸ git-with-svn-2.44.0-riscv64-linux                                                                                                                                                                                                                                             
┃                         ├─ ⏵ strace-6.8-riscv64-linux ⏱ 8s                                                                                                                                                                                                                                                 
┃                      ┌─ ⏸ system-path-riscv64-linux                                                                                                                                                                                                                                                        

nom shows this

00:46:31
@alex:tunstall.xyzAlex

nix why-depends

See man nix3-why-depends

00:46:35
@hive:the-apothecary.clubtauok00:46:38
@alex:tunstall.xyzAlex The nom tree looks pretty clear btw: you have a git package in your path -- is that gitFull instead of the regular git? 00:47:26
@hive:the-apothecary.clubtaui'll check00:47:44
@hive:the-apothecary.clubtauoh yeah that was it thank u00:48:48
7 Apr 2024
@alex:tunstall.xyzAlex
In reply to @skeuchel:matrix.org
Here are my estimates

On the pioneer:
Unregisterised release+profiled_libs: >30h
Unregisterised quick+no_profiled_libs: 18h
Registerised release+profiled_libs: 12h
Registerised quick+no_profiled_libs: 9h

Using qemu user-mode
Registerised release+profiled_libs: 8h
Registerised quick+no_profiled_libs: 6h

I've measured ~22h for building an unregisterised GHC 9.2.8 booted via an unregisterised GHC 8.10.7 when running on VF2 (JH7110 SoC).
(Default flavour with profiled libraries, dynamic libraries, and documentation enabled.)

One minor difference to a typical RV64GC build is that I also enable Zba and Zbb.
I have no idea what performance impact this has on my hardware.

That a Milk-V Pioneer would take over 30h to do the same is surprising.

10:55:37
@thefossguy:matrix.orgPratham Patel (you can mention me)Another spec bump for the Oasis: https://www.linkedin.com/pulse/sophon-sg2380-new-choice-aipc-%E7%AE%97%E8%83%BD-rychc/10:56:15
@alex:tunstall.xyzAlex
In reply to @alex:tunstall.xyz

I've measured ~22h for building an unregisterised GHC 9.2.8 booted via an unregisterised GHC 8.10.7 when running on VF2 (JH7110 SoC).
(Default flavour with profiled libraries, dynamic libraries, and documentation enabled.)

One minor difference to a typical RV64GC build is that I also enable Zba and Zbb.
I have no idea what performance impact this has on my hardware.

That a Milk-V Pioneer would take over 30h to do the same is surprising.

I just remembered that I have logs, so:

configurePhase completed in 1 minutes 37 seconds
buildPhase completed in 21 hours 32 minutes 2 seconds
installPhase completed in 8 minutes 33 seconds
fixupPhase completed in 4 minutes 7 seconds

(unpack and patch phases don't appear to log timings.)

11:00:55
@0x4a6f:matrix.org[0x4A6F]Are you running on SDcard or NVMe on the VF2?11:06:04
@alex:tunstall.xyzAlexNVMe11:06:10
8 Apr 2024
@alex:tunstall.xyzAlex

I'm getting the following error when trying to build certain Haskell packages with a registerised GHC.

Couldn't find a target code interpreter. Try with -fexternal-interpreter

I thought registerised GHC included TemplateHaskell support?
Steven Keuchel do I need the patches that enable GHCi for this to work?

06:29:08

Show newer messages


Back to Room ListRoom Version: 10