File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ if(${BPFTIME_LLVM_JIT})
150
150
bpftime_add_static_lib_component_command (bpftime_llvm_jit_vm )
151
151
else ()
152
152
bpftime_add_static_lib_component_command (bpftime_ubpf_vm )
153
+ bpftime_add_libs_component_command (${UBPF_BUILD_DIR} /lib/libubpf.a )
153
154
endif ()
154
155
bpftime_add_libs_component_command (${FRIDA_GUM_INSTALL_DIR} /libfrida-gum.a )
155
156
bpftime_add_static_lib_component_command (bpftime_frida_uprobe_attach_impl )
156
157
bpftime_add_static_lib_component_command (bpftime_syscall_trace_attach_impl )
157
- bpftime_add_libs_component_command (${UBPF_BUILD_DIR} /lib/libubpf.a )
158
158
bpftime_add_static_lib_component_command (runtime )
159
159
bpftime_add_static_lib_component_command (spdlog )
160
160
if (CMAKE_AR_NAME STREQUAL "libtool" )
Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ release-with-llvm-jit: ## build the package, with llvm-jit
64
64
-DBPFTIME_LLVM_JIT=1
65
65
cmake --build build --config RelWithDebInfo --target install -j$(JOBS )
66
66
67
+ release-with-static-lib : # # build the release version with libbpftime archive
68
+ cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
69
+ -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO -DBPTIME_BULD_STATIC=ON
70
+ cmake --build build --config RelWithDebInfo --target install -j$(JOBS )
71
+
67
72
build-vm : # # build only the core library
68
73
make -C vm build
69
74
You can’t perform that action at this time.
0 commit comments