Skip to content

Commit

Permalink
setup-build-env: Install zstd-dev
Browse files Browse the repository at this point in the history
sched-ext selftests link against zstd. It currently fails with the
following linker error:

    rc/tools/testing/selftests/sched_ext/build/obj/sched_ext/test_example.o -lelf -lz -lpthread -lzstd
    /usr/bin/ld: cannot find -lzstd
    collect2: error: ld returned 1 exit status

Fix by installing libzstd-dev package.
  • Loading branch information
danobi committed Nov 26, 2024
1 parent df8e00b commit e36d42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup-build-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
run: |
echo "::group::Setup"
sudo apt-get update
sudo apt-get install -y cmake flex bison build-essential libssl-dev ncurses-dev xz-utils bc rsync libguestfs-tools qemu-kvm qemu-utils linux-image-generic zstd binutils-dev elfutils libcap-dev libelf-dev libdw-dev python3-docutils
sudo apt-get install -y cmake flex bison build-essential libssl-dev ncurses-dev xz-utils bc rsync libguestfs-tools qemu-kvm qemu-utils linux-image-generic zstd libzstd-dev binutils-dev elfutils libcap-dev libelf-dev libdw-dev python3-docutils
echo "::endgroup::"
- name: Install clang
shell: bash
Expand Down

0 comments on commit e36d42f

Please sign in to comment.