Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support RISC-V 64 #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

shanduur
Copy link

@shanduur shanduur commented May 7, 2024

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

@shanduur shanduur requested a review from a team as a code owner May 7, 2024 14:26
@shanduur shanduur force-pushed the riscv64-support branch 4 times, most recently from 000288a to 246a78f Compare May 8, 2024 07:32
pkg/drivers/sqlite/sqlite_nocgo.go Outdated Show resolved Hide resolved
pkg/drivers/sqlite/sqlite_cgo.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@brandond
Copy link
Member

brandond commented May 30, 2024

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?

Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
@shanduur
Copy link
Author

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

@shanduur shanduur requested a review from dereknola May 31, 2024 11:45
@shanduur
Copy link
Author

Anyone looking into this?

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.

Add support for RISC-V 64
3 participants