Skip to content

Commit

Permalink
Remove riscv64 hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Nov 28, 2024
1 parent 97c753a commit b2e27f4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,13 @@ case "$ARCH" in
riscv64)
sudo apt -y install libc6-riscv64-cross
sudo ln -s /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1
# workaround since the Zig compiler always targets ld-linux-riscv64-lp64.so.1
sudo ln -s /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64.so.1
;;
s390x)
sudo apt -y install libc6-s390x-cross
sudo ln -s /usr/s390x-linux-gnu/lib/ld64.so.1 /lib/ld64.so.1
;;
esac
sudo pip install https://github.com/mesonbuild/meson/archive/2baae24.zip ninja cmake==3.28.4 --break-system-packages
if [[ "${ARCH}" == "riscv64" ]]; then
sudo pip install patchelf==0.15.0.0 --break-system-packages
fi

export ZIG_FLAGS=""
export CFLAGS="-Wno-date-time -fno-sanitize=undefined -I${DEPSDIR}/include"
Expand Down

0 comments on commit b2e27f4

Please sign in to comment.