Skip to content

Commit 8d504d7

Browse files
committed
fix: use ubuntu-24.04 with glslc package for Vulkan support
1 parent 32c88dd commit 8d504d7

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
build-and-release:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- name: Checkout code
@@ -58,7 +58,7 @@ jobs:
5858
cmake \
5959
libvulkan-dev \
6060
libopenblas-dev \
61-
libshaderc-dev
61+
glslc
6262
6363
- name: Build release binary
6464
env:

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,20 @@ Contributions are welcome and encouraged! Whether you're fixing bugs, adding fea
6363

6464
For Debian/Ubuntu-based distributions:
6565

66+
**Ubuntu 24.04+ (Noble and later):**
6667
```bash
6768
sudo apt install build-essential portaudio19-dev libclang-dev pkg-config wl-copy \
6869
libxkbcommon-dev libwayland-dev libx11-dev libxcursor-dev libxi-dev libxrandr-dev \
6970
libasound2-dev libssl-dev libfftw3-dev curl cmake libvulkan-dev \
70-
libopenblas-dev libshaderc-dev
71+
libopenblas-dev glslc
7172
```
7273

74+
**Ubuntu 22.04 and earlier:**
75+
Note: `glslc` is not available in standard repositories. You'll need to either:
76+
- Upgrade to Ubuntu 24.04, or
77+
- Download glslc from [LunarG Vulkan SDK](https://vulkan.lunarg.com/), or
78+
- Build shaderc from [source](https://github.com/google/shaderc)
79+
7380
For Fedora/RHEL-based distributions:
7481

7582
```bash
@@ -171,13 +178,17 @@ sudo dnf install gcc gcc-c++ portaudio-devel clang-devel pkg-config wl-copy \
171178
```
172179

173180
#### Debian/Ubuntu
181+
182+
**Ubuntu 24.04+:**
174183
```bash
175184
sudo apt install build-essential portaudio19-dev libclang-dev pkg-config wl-copy \
176185
libxkbcommon-dev libwayland-dev libx11-dev libxcursor-dev libxi-dev libxrandr-dev \
177186
libasound2-dev libssl-dev libfftw3-dev curl cmake libvulkan-dev \
178-
libopenblas-dev libshaderc-dev
187+
libopenblas-dev glslc
179188
```
180189

190+
**Ubuntu 22.04:** See note above about glslc availability
191+
181192
#### NixOS
182193
```bash
183194
nix develop

0 commit comments

Comments
 (0)