github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/third_party/libbpf/Makefile (about) 1 LIBBPF_VERSION ?= v0.8.1 2 3 .PHONY: build-libbpf 4 build-libbpf: 5 test -d src || git clone https://github.com/libbpf/libbpf src 6 cd src && git checkout $(LIBBPF_VERSION) 7 PREFIX=$(shell pwd)/lib make -C src/src -j16 install 8 9 .PHONY: clean 10 clean: 11 rm -rf src lib