-
Notifications
You must be signed in to change notification settings - Fork 217
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
base: master
Are you sure you want to change the base?
Conversation
fc2ab83
to
000288a
Compare
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
|
||
"github.com/glebarez/go-sqlite" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You seem to have duplicate imports of this and line 25
"github.com/k3s-io/kine/pkg/logstructured/sqllog" | ||
"github.com/k3s-io/kine/pkg/server" | ||
"github.com/k3s-io/kine/pkg/util" | ||
"github.com/mattn/go-sqlite3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate imports here and on line 24
@@ -27,6 +28,7 @@ require ( | |||
google.golang.org/grpc v1.56.3 | |||
k8s.io/apimachinery v0.28.6 | |||
k8s.io/client-go v0.28.6 | |||
modernc.org/sqlite v1.28.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to github.com/mattn/go-sqlite3
?
Why are you changing the code at all? This should just build as-is on riscv64.
I don't think we want that... what is wrong with using cgo on riscv64? |
Treat it as POC, as I do not fully understand how the Dapper scripts work, but hey, it works for me!
How I tested it:
Also, this adds pure Go implementation of SQLite3 client when building without CGO.
Closes #296