We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3eea89 commit 6c6dbcdCopy full SHA for 6c6dbcd
.pipelines/build/scripts/ipv6-hp-bpf.sh
@@ -13,14 +13,13 @@ mkdir -p "$OUT_DIR"/lib
13
if [[ -f /etc/debian_version ]];then
14
apt-get update -y
15
apt-get install -y llvm clang linux-libc-dev linux-headers-generic libbpf-dev libc6-dev nftables iproute2
16
- if [[ $ARCH =~ amd64 ]]; then
+ if [[ $GOARCH =~ amd64 ]]; then
17
apt-get install -y gcc-multilib build-essential binutils
18
19
ARCH=x86_64-linux-gnu
20
cp /usr/lib/"$ARCH"/ld-linux-x86-64.so.2 "$OUT_DIR"/lib/
21
- cp /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 "$OUT_DIR"/lib/ || echo "Skipped."
22
23
- elif [[ $ARCH =~ arm64 ]]; then
+ elif [[ $GOARCH =~ arm64 ]]; then
24
apt-get install -y gcc-aarch64-linux-gnu
25
26
ARCH=aarch64-linux-gnu
0 commit comments