Skip to content

Commit

Permalink
build-essential
Browse files Browse the repository at this point in the history
  • Loading branch information
vnghia committed Aug 9, 2024
1 parent 5b4d0a5 commit 71a92b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions ci/cross-pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
set -euxo pipefail

if [[ "$CROSS_TARGET" == "aarch64-unknown-linux-gnu" ]]; then
apt-get update && apt-get install --assume-yes libssl-dev build-essential pkg-config

sed 's/^deb http/deb [arch=amd64] http/' -i '/etc/apt/sources.list'
echo 'deb [arch=arm64] http://ports.ubuntu.com/ jammy main restricted universe multiverse' >> /etc/apt/sources.list
echo 'deb [arch=arm64] http://ports.ubuntu.com/ jammy-updates main restricted universe multiverse' >> /etc/apt/sources.list
Expand Down
1 change: 1 addition & 0 deletions ci/cross/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
build-essential \
libc6-dev-arm64-cross \
crossbuild-essential-arm64

Expand Down

0 comments on commit 71a92b2

Please sign in to comment.