blob: 1da699e9d3632e0b0b23dc3c9887faf1df02f24b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
SUMMARY = "BPF Compiler Collection (BCC)"
HOMEPAGE = "https://github.com/iovisor/bcc"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
DEPENDS += "bison-native \
ninja-native \
elfutils-native \
flex-native \
${MLPREFIX}elfutils \
${MLPREFIX}binutils \
${MLPREFIX}flex \
luajit \
clang \
"
RDEPENDS_${PN} += "bash python3 python3-core"
SRC_URI = "git://github.com/iovisor/bcc \
file://0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch \
file://0001-BCC-Use-python-3.patch \
"
SRCREV = "368a5b0714961953f3e3f61607fa16cb71449c1b"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = " \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_LLVM_SHARED=ON \
-DENABLE_CLANG_JIT=ON \
-DENABLE_MAN=OFF \
-DLLVM_PACKAGE_VERSION=${LLVMVERSION} \
-DPYTHON_CMD=python3 \
"
FILES_${PN} += "${libdir}/python*/dist-packages"
|