Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Install mold from the OS on Debian 13 (Trixie) (#37712)

Martin Pool5a8603bebb26
diff --git a/script/linux b/script/linux
index 029278bea38..47f58c0bc5f 100755
--- a/script/linux
+++ b/script/linux
@@ -47,7 +47,10 @@ if [[ -n $apt ]]; then
musl-dev
build-essential
)
- if (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then
+ if (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+13|' /etc/os-release); then
+ # libstdc++-14-dev is in build-essential
+ deps+=( mold )
+ elif (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then
deps+=( mold libstdc++-14-dev )
elif (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+12|Linux Mint 21|.+22\.04)' /etc/os-release); then
deps+=( mold libstdc++-12-dev )