Skip to content

Commit

Permalink
fix(build): add libzstd-dev as required dependency
Browse files Browse the repository at this point in the history
libzstd may be a dependency on libelf, which is a dependency on libbpf.
  • Loading branch information
geyslan committed May 28, 2024
1 parent e59a255 commit 4f44733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
sudo apt-get install --yes pkgconf
sudo apt-get install --yes llvm-12 clang-12
sudo apt-get install --yes clang-format-12
sudo apt-get install --yes zlib1g-dev libelf-dev
sudo apt-get install --yes libelf-dev libzstd-dev zlib1g-dev
for tool in "clang" "llc" "llvm-strip" "clang-format"
do
sudo rm -f /usr/bin/$tool
Expand Down
2 changes: 1 addition & 1 deletion builder/prepare-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ install_pkgs \
llvm-"${CLANG_VERSION}" clang-"${CLANG_VERSION}" clang-format-"${CLANG_VERSION}" \
linux-headers-generic \
linux-tools-generic linux-tools-"$(uname -r)" \
zlib1g-dev libelf-dev libbpf-dev
libbpf-dev libelf-dev libzstd-dev zlib1g-dev

setup_go
setup_clang
Expand Down

0 comments on commit 4f44733

Please sign in to comment.