代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/polycube 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 93a4722e17ab4c8d34d8f5f9be6633f77429f040 Mon Sep 17 00:00:00 2001
From: bitcoffee <854182924@qq.com>
Date: Thu, 24 Sep 2020 15:35:06 +0800
Subject: [PATCH] Bcc-static linked at compile time for Polycubed already
includes the LLVM static library.At runtime polycubed links clang again,
clang links the dynamic library of LLVM, causing LLVM to report error:
"Option XXXXXX registered more than once"
---
src/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d3b985e..4b71f68 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,6 +4,7 @@ include_directories(${CMAKE_SOURCE_DIR}/src/libs/bcc/src/cc/libbpf/include/uapi)
option(INSTALL_CLI "installs the polycube CLI" ON)
option(ENABLE_PCN_IPTABLES "enables the pcn-iptables" OFF)
+option(ENABLE_LLVM_SHARED "Enable linking LLVM as a shared library" ON)
add_subdirectory(components)
add_subdirectory(libs)
--
2.20.1.windows.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。