File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ # MUSL-libkflow
2
+
3
+ Since libkflow uses CGO internally, we need to build it with a musl c compiler to
4
+ satisfy our end goal of producing a single statically linked kprobe binary.
5
+ Unfortunately, creating static libraries in GO with CGO enabled only works with a
6
+ patched version of Go.
7
+
8
+ ## Creating a new version of libkflow
9
+
10
+ This guide assumes that you want to build the latest version of libkflow as it exists
11
+ on the ` main ` branch of the ` libkflow ` repository.
12
+
13
+ ### The Steps
14
+ - Update the ` libkflow ` submodule to the latest version
15
+ ``` shell
16
+ git submodule update --remote libkflow
17
+ git add .
18
+ git commit -m " Update libkflow to $LATEST_VERSION "
19
+ ```
20
+ - Push the changes to github, and the builder will take care of the rest.
21
+ - One can find the built libraries in the output of the github action.
You can’t perform that action at this time.
0 commit comments