diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37e80e5a8d..02bec28714 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.04 timeout-minutes: 60 name: Create arm64 Linux bundle runs-on: @@ -360,8 +360,8 @@ jobs: - name: Set up Clang run: | 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 # v1 with: diff --git a/docs/src/linux.md b/docs/src/linux.md index 2b9a66d51e..812a3707d0 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 o curl -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 Linux Zed is open source, and [you can install from source](./development/linux.md).