iovisor / iovisor/bcc

[DRAFT Proposal] Improving CMake scripts for getting libbcc with FetchContent

Open
#4,472 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

## Motivation

Now for building and getting libbcc as a shared or static library for different architectures, I have to build it first, then install it, and then search for library files in the specified directories for using in my project. If FetchContent is used, it turns out that the library is not designed for using with this. This is bad in the case when I want to use the library in my project with cross-compilation for embedded systems. For example, in my project I use bcc as a JIT interpreter for BPF programs, and I think it would be convenient to use the library using FetchContent introduced in CMake.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.