Skip to content

add riscv64 release#2172

Closed
mengzhuo wants to merge 1 commit intoergochat:masterfrom
mengzhuo:master
Closed

add riscv64 release#2172
mengzhuo wants to merge 1 commit intoergochat:masterfrom
mengzhuo:master

Conversation

@mengzhuo
Copy link
Copy Markdown
Contributor

No description provided.

@slingamn
Copy link
Copy Markdown
Member

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?

@mengzhuo
Copy link
Copy Markdown
Contributor Author

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

@slingamn
Copy link
Copy Markdown
Member

I merged a modified version of this as #2173

@slingamn slingamn closed this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants