Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Ubuntu 22 (Linux arm runner) fixes (#17643)
Peter Tripp85f4c96feff4
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 37e80e5a8d3..02bec287144 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -339,7 +339,7 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- bundle-linux-aarch64:+ bundle-linux-aarch64: # this runs on ubuntu22.04timeout-minutes: 60name: Create arm64 Linux bundleruns-on:@@ -360,8 +360,8 @@ jobs:- name: Set up Clangrun: |sudo apt-get update- sudo apt-get install -y llvm-10 clang-10 build-essential cmake pkg-config libasound2-dev libfontconfig-dev libwayland-dev libxkbcommon-x11-dev libssl-dev libsqlite3-dev libzstd-dev libvulkan1 libgit2-dev- echo "/usr/lib/llvm-10/bin" >> $GITHUB_PATH+ sudo apt-get install -y llvm-15 clang-15 build-essential cmake pkg-config libasound2-dev libfontconfig-dev libwayland-dev libxkbcommon-x11-dev libssl-dev libsqlite3-dev libzstd-dev libvulkan1 libgit2-dev+ echo "/usr/lib/llvm-15/bin" >> $GITHUB_PATH- uses: rui314/setup-mold@0bf4f07ef9048ec62a45f9dbf2f098afa49695f0 # v1with:diff --git a/docs/src/linux.md b/docs/src/linux.mdindex 2b9a66d51e6..812a3707d01 100644--- a/docs/src/linux.md+++ b/docs/src/linux.md@@ -12,15 +12,21 @@ We also offer a preview build of Zed which receives updates about a week ahead ocurl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh```-The Zed installed by the script does not work on systems that:+The Zed installed by the script works best on systems that:-- have no Vulkan compatible GPU available (for example Linux on an M-series macBook)-- have no system-wide glibc (for example on NixOS or Alpine by default)-- have a glibc older than version 2.29 (for example Amazon Linux 2 or Ubuntu 18 and earlier)-- use an architecture other than 64-bit Intel or 64-bit ARM (for example a 32-bit or RISC-V machine)+- have a Vulkan compatible GPU available (for example Linux on an M-series macBook)+- have a system-wide glibc (NixOS and Alpine do not by default)+ - x86_64 (Intel/AMD): glibc version >= 2.29 (Ubuntu 20 and newer; Amazon Linux >2023)+ - aarch64 (ARM): glibc version >= 2.35 (Ubuntu 22 and newer)Both Nix and Alpine have third-party Zed packages available (though they are currently a few weeks out of date). If you'd like to use our builds they do work if you install a glibc compatibility layer. On NixOS you can try [nix-ld](https://github.com/Mic92/nix-ld), and on Alpine [gcompat](https://wiki.alpinelinux.org/wiki/Running_glibc_programs).+You will need to build from source for:++- architectures other than 64-bit Intel or 64-bit ARM (for example a 32-bit or RISC-V machine)+- Amazon Linux 2 on x86_64+- Rocky Linux 9.3+## Other ways to install Zed on LinuxZed is open source, and [you can install from source](./development/linux.md).