godot-kotlin-jvm icon indicating copy to clipboard operation
godot-kotlin-jvm copied to clipboard

Install dependencies before building on Linux

Open signalno11 opened this issue 6 months ago • 4 comments

Fixes #827

signalno11 avatar May 09 '25 05:05 signalno11

You are adding a lot of dependency, but in Godot's own CI I only see this single install: https://github.com/godotengine/godot/blob/19bb18716ef08b811fec330cba4d35fbdb027bcc/.github/workflows/linux_builds.yml#L111

Is there a reason for the extra stuff ? Hard Disk space is really limited in runner and we already ran into issues with it more than once. We shouldn't bloat it with so many libs if we are not sure to use them.

CedNaru avatar May 09 '25 16:05 CedNaru

The instructions seem to be very different depending on the distro but these should be good. I think its a good idea just to make sure libalsa and libpulse are installed, so I left those, and the wayland and udev dev files. (Sidenote: we should probably be building with udev=yes)

signalno11 avatar May 09 '25 17:05 signalno11

udev is already true by default, as you can see here: https://github.com/godotengine/godot/blob/19bb18716ef08b811fec330cba4d35fbdb027bcc/platform/linuxbsd/detect.py#L48

CedNaru avatar May 09 '25 18:05 CedNaru

Alright. The dependency is probably still smart to install, but if we haven't seen any other issues with the build yet, I suppose it's safe to simply just install wayland-devel.

signalno11 avatar May 10 '25 16:05 signalno11