aboutsummaryrefslogtreecommitdiff
path: root/install_dependencies.sh
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-12 13:44:04 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-12 13:44:04 -0400
commit90a323e3b34cfecdf9df55d8a03d03649609f162 (patch)
treec9dcf3b40e6b0de736f0c38864383a01b369439c /install_dependencies.sh
parentba555a8aca47a78acb173780fd252b19d3cdd36e (diff)
Replace addr2line with libbacktrace to get improved stack traces
Diffstat (limited to 'install_dependencies.sh')
-rwxr-xr-xinstall_dependencies.sh26
1 files changed, 13 insertions, 13 deletions
diff --git a/install_dependencies.sh b/install_dependencies.sh
index 27d04416..96dfe404 100755
--- a/install_dependencies.sh
+++ b/install_dependencies.sh
@@ -48,19 +48,19 @@ fi
# Install packages
case "$PKG_MGR" in
- apt) $SUDO apt install libgc-dev libunistring-dev binutils patchelf libgmp-dev ;;
- dnf) $SUDO dnf install gc-devel libunistring-devel binutils patchelf gmp-devel ;;
- pacman) $SUDO pacman -S gc libunistring binutils patchelf gmp ;;
- yay|paru) $PKG_MGR -S gc libunistring binutils patchelf gmp ;;
- xbps) $SUDO xbps-install -S gc libunistring binutils patchelf gmp ;;
- pkg_add) $SUDO pkg_add boehm-gc libunistring binutils patchelf gmp ;;
- freebsd-pkg) $SUDO pkg install boehm-gc libunistring binutils patchelf gmp ;;
- brew) brew install bdw-gc libunistring binutils patchelf gmp ;;
- macports) $SUDO port install boehm-gc libunistring binutils patchelf gmp ;;
- zypper) $SUDO zypper install gc-devel libunistring-devel binutils patchelf gmp-devel ;;
- nix) nix-env -iA nixpkgs.boehm-gc nixpkgs.libunistring nixpkgs.binutils nixpkgs.patchelf nixpkgs.gmp ;;
- spack) spack install boehm-gc libunistring binutils patchelf gmp ;;
- conda) conda install boehm-gc libunistring binutils patchelf gmp ;;
+ apt) $SUDO apt install libgc-dev libunistring-dev libbacktrace patchelf libgmp-dev ;;
+ dnf) $SUDO dnf install gc-devel libunistring-devel libbacktrace patchelf gmp-devel ;;
+ pacman) $SUDO pacman -S gc libunistring libbacktrace patchelf gmp ;;
+ yay|paru) $PKG_MGR -S gc libunistring libbacktrace patchelf gmp ;;
+ xbps) $SUDO xbps-install -S gc libunistring libbacktrace patchelf gmp ;;
+ pkg_add) $SUDO pkg_add boehm-gc libunistring libbacktrace patchelf gmp ;;
+ freebsd-pkg) $SUDO pkg install boehm-gc libunistring libbacktrace patchelf gmp ;;
+ brew) brew install bdw-gc libunistring libbacktrace patchelf gmp ;;
+ macports) $SUDO port install boehm-gc libunistring libbacktrace patchelf gmp ;;
+ zypper) $SUDO zypper install gc-devel libunistring-devel libbacktrace patchelf gmp-devel ;;
+ nix) nix-env -iA nixpkgs.boehm-gc nixpkgs.libunistring nixpkgs.libbacktrace nixpkgs.patchelf nixpkgs.gmp ;;
+ spack) spack install boehm-gc libunistring libbacktrace patchelf gmp ;;
+ conda) conda install boehm-gc libunistring libbacktrace patchelf gmp ;;
*)
echo "Unknown package manager: $PKG_MGR" >&2
exit 1