Closed mengzhuo closed 2 weeks ago
Yes, I can run ergo flawless on RISC-V machine
# uname -a
Linux visionfive2-1 5.15.0-starfive #1 SMP Sun Jun 11 07:48:39 UTC 2023 riscv64 GNU/Linux
# go version
go version go1.22.3 linux/riscv64
# go build .
# ./ergo --help
ergo.
Usage:
ergo initdb [--conf <filename>] [--quiet]
ergo upgradedb [--conf <filename>] [--quiet]
ergo importdb <database.json> [--conf <filename>] [--quiet]
ergo genpasswd [--conf <filename>] [--quiet]
ergo mkcerts [--conf <filename>] [--quiet]
ergo defaultconfig
ergo run [--conf <filename>] [--quiet] [--smoke]
ergo -h | --help
ergo --version
Options:
--conf <filename> Configuration file to use [default: ircd.yaml].
--quiet Don't show startup/shutdown lines.
-h --help Show this screen.
--version Show version.
# ./ergo mkcerts && ./ergo run
2024/06/18 01:39:00 making self-signed certificates
2024/06/18 01:39:00 making cert for :6697 listener
2024/06/18 01:39:01 Certificate created at fullchain.pem : privkey.pem
2024-06-18T01:39:01.682Z : info : server : ergo-2.14.0-rc2 starting
2024-06-18T01:39:01.682Z : info : server : Using config file : ircd.yaml
2024-06-18T01:39:01.683Z : info : server : Using datastore : ircd.db
2024-06-18T01:39:01.683Z : warn : server : database does not exist, creating it : ircd.db
2024-06-18T01:39:01.686Z : info : server : Proxied IPs will be accepted from : localhost
2024-06-18T01:39:01.686Z : info : listeners : now listening on 127.0.0.1:6667, tls=false, proxy=false, tor=false, websocket=false.
2024-06-18T01:39:01.686Z : info : listeners : now listening on [::1]:6667, tls=false, proxy=false, tor=false, websocket=false.
2024-06-18T01:39:01.687Z : info : listeners : now listening on :6697, tls=true, proxy=false, tor=false, websocket=false.
2024-06-18T01:39:01.687Z : info : server : Server running
I merged a modified version of this as #2173
Thanks for your interest in the project! I'm not sure RISC-V actually has the adoption to justify this change yet. I would guess anyone running RISC-V is comfortable building from source as per our instructions?
Just curious, have you been running Ergo on a RISC-V machine? What was your experience like?