k3s-io / kine

Run Kubernetes on MySQL, Postgres, sqlite, dqlite, not etcd.
Apache License 2.0
1.49k stars 226 forks source link

feat: support RISC-V 64 #297

Open shanduur opened 2 months ago

shanduur commented 2 months ago

I do not fully understand how the Dapper scripts work, but build works, so should be good?

How I tested it:

make ARCH=riscv64
docker run \
    --rm --interactive --tty \
    --volume=./bin/:/mnt/bin \
    --platform=linux/riscv64 \
    riscv64/busybox \
        /mnt/bin/kine

Closes #296

brandond commented 1 month ago

Why are you changing the code at all? This should just build as-is on riscv64.

this adds pure Go implementation of SQLite3 client

I don't think we want that... what is wrong with using cgo on riscv64?

shanduur commented 1 month ago

Yeah, agreed @brandond. I reverted the code changes, now it's just the rv64 platform support.