From da1d5b00af97beffefc995326e675a21a45ba2dd Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 3 Oct 2023 10:09:41 +0200 Subject: [PATCH] chore(ci): install gcc-multilib. Signed-off-by: Federico Di Pierro --- .circleci/config.yml | 4 ++-- .github/workflows/ci.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4e7fc9d2c9c..90d0ac45adf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ jobs: name: Install deps ⛓️ command: | sudo apt update -y - sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev linux-headers-$(uname -r) clang-14 llvm-14 + sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev linux-headers-$(uname -r) clang-14 llvm-14 gcc-multilib g++-multilib sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 90 sudo update-alternatives --install /usr/bin/llvm-strip llvm-strip /usr/bin/llvm-strip-14 90 git clone https://github.com/libbpf/bpftool.git --branch v7.0.0 --single-branch @@ -116,7 +116,7 @@ jobs: name: Install deps ⛓️ command: | sudo apt update -y - sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends ca-certificates git make build-essential clang-7 libelf-dev libcap-dev cmake linux-headers-$(uname -r) + sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends ca-certificates git make build-essential clang-7 libelf-dev libcap-dev cmake linux-headers-$(uname -r) gcc-multilib g++-multilib ls /usr/bin/ | grep clang ls /usr/bin/ | grep llc sudo ln -s /usr/bin/clang-7 /usr/bin/clang diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 485276b5ecf..6f402a574c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -233,7 +233,7 @@ jobs: - name: Install deps ⛓️ run: | sudo apt update - sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev linux-headers-$(uname -r) clang-14 llvm-14 libtool + sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev linux-headers-$(uname -r) clang-14 llvm-14 libtool gcc-multilib g++-multilib sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 90 sudo update-alternatives --install /usr/bin/llvm-strip llvm-strip /usr/bin/llvm-strip-14 90 sudo update-alternatives --install /usr/bin/llc llc /usr/bin/llc-14 90