aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadeshiko Manju <lizheao940510@gmail.com>2024-01-31 03:03:54 +0800
committerGitHub <noreply@github.com>2024-01-30 11:03:54 -0800
commit7871925e1e887cba9fff2b8ee55b3d01b87b17e3 (patch)
tree38a323d384c35240a355f6ba8fd2e3a9275d6941
parent052813c408c60075ccd98a2ecb1b08007e9ab9cf (diff)
downloadbcc-7871925e1e887cba9fff2b8ee55b3d01b87b17e3.tar.gz
doc: Fix the build guide for the Arch Linux (#4891)
After LLVM 15.0.7.2 on the Arch Linux, the package maintainer remove the static library default, FYI https://gitlab.archlinux.org/archlinux/packaging/packages/llvm/-/commit/3e452a15b68d156a9ef5608e8f6e1870d192d954 So we need add -DENABLE_LLVM_SHARED=on default for the Arch Linux Signed-off-by: Manjusaka <me@manjusaka.me>
-rw-r--r--INSTALL.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index fc86e90d..e84b8be6 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -722,7 +722,7 @@ git clone https://github.com/iovisor/bcc.git
pushd .
mkdir bcc/build
cd bcc/build
-cmake .. -DPYTHON_CMD=python3 # for python3 support
+cmake -DENABLE_LLVM_SHARED=on .. -DPYTHON_CMD=python3 # for python3 support
make -j$(nproc)
sudo make install
cd src/python