From 5506d462f4147ad5a2b4b40ed3b11dac08708612 Mon Sep 17 00:00:00 2001 From: Dmitry Sobinov Date: Mon, 24 Jul 2023 21:09:53 +1000 Subject: [PATCH 1/2] Missing libpolly-16-dev dep for apt.llvm.org repo instructions Minor README fix `cargo install bpf-linker --no-default-features` fails to build if libpolly-16-dev is not installed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f299de69..60351178 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ cargo install bpf-linker On Debian based distributions you need to install the `llvm-16-dev` and `libclang-16-dev` packages. If your distro doesn't have them you can get them -from the official LLVM repo at https://apt.llvm.org. +from the official LLVM repo at https://apt.llvm.org. You need to install libpolly-16-dev too if you use this repo. On rpm based distribution you need the `llvm-devel` and `clang-devel` packages. If your distro doesn't have them you can get them from Fedora Rawhide. From f0f67b0f1693289f49da67af00127863becc4292 Mon Sep 17 00:00:00 2001 From: Dmitry Sobinov Date: Wed, 26 Jul 2023 09:10:01 +1000 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60351178..4cce9514 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ cargo install bpf-linker ### Using external LLVM -On Debian based distributions you need to install the `llvm-16-dev` and -`libclang-16-dev` packages. If your distro doesn't have them you can get them -from the official LLVM repo at https://apt.llvm.org. You need to install libpolly-16-dev too if you use this repo. +On Debian based distributions you need to install the `llvm-16-dev`, `libclang-16-dev` +and `libpolly-16-dev` packages. If your distro doesn't have them you can get them +from the official LLVM repo at https://apt.llvm.org. On rpm based distribution you need the `llvm-devel` and `clang-devel` packages. If your distro doesn't have them you can get them from Fedora Rawhide.