1 Star 0 Fork 52

HKGY/bcc

forked from src-openEuler/bcc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dynamic-link-bcc-against-llvm.patch 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
HKGY 提交于 2022-07-28 16:28 . update
From 35452990a25ddc3a4dce51c89d1c3ea7cee9e663 Mon Sep 17 00:00:00 2001
From: sunsuwan <sunsuwan2@huawei.com>
Date: Fri, 4 Mar 2022 09:44:20 +0800
Subject: [PATCH] dynamic link bcc against llvm
Signed-off-by: sunsuwan sunsuwan2@huawei.com
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e33856c..fb3352e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,7 +57,7 @@ include(cmake/FindCompilerFlag.cmake)
option(ENABLE_LLVM_NATIVECODEGEN "Enable use of llvm nativecodegen module (needed by rw-engine)" ON)
option(ENABLE_RTTI "Enable compiling with real time type information" OFF)
-option(ENABLE_LLVM_SHARED "Enable linking LLVM as a shared library" OFF)
+option(ENABLE_LLVM_SHARED "Enable linking LLVM as a shared library" ON)
option(ENABLE_CLANG_JIT "Enable Loading BPF through Clang Frontend" ON)
option(ENABLE_USDT "Enable User-level Statically Defined Tracing" ON)
option(ENABLE_EXAMPLES "Build examples" ON)
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hkgy/bcc.git
git@gitee.com:hkgy/bcc.git
hkgy
bcc
bcc
master

搜索帮助