Skip to content

Commit a665f31

Browse files
authored
doc: Fix the build guide for openSUSE (#5393)
On openSUSE, LLVM/Clang static libraries are not provided by default. This causes CMake to fail with "unknown component LLVMBitWriter" when building bcc. To fix this, add `-DENABLE_LLVM_SHARED=1` in the build instructions for openSUSE. Signed-off-by: Hoyeon Lee <[email protected]>
1 parent 52d2d09 commit a665f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ sudo zypper in lua51-luajit-devel # for lua support in openSUSE Tumbleweed
532532
git clone https://github.com/iovisor/bcc.git
533533
mkdir bcc/build; cd bcc/build
534534
cmake -DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \ # for lua support
535-
..
535+
-DENABLE_LLVM_SHARED=1 ..
536536
make
537537
sudo make install
538538
cmake -DPYTHON_CMD=python3 .. # build python3 binding

0 commit comments

Comments
 (0)