-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Rusticl is not available by default by installing mesa-opencl from the repos, but I've successfully managed to hack the srcpkg template in mesa to support it.
One issue I encountered was that mesa failed to build nouveau, so in my setup I have disabled nouveau completely with the _have_nv= flag, but obviously that wouldn't work for everyone running aarch64 as they might have an nvidia GPU.
The Raspberry Pi 5 has a VideoCore GPU VII that needs the v3d driver, so I have enabled the _have_arm=yes, which adds the v3d option to _gallium_drivers. Furthermore I have enabled _have_opencl=yes.
Finally I have added rust and cargo to hostmakedepends.
Then finally I have enabled rusticl by installing these packages from the xbps-src repo:
mesa mesa-dri mesa-libgallium mesa-v3d-dri mesa-opencl libgbm
Would be great if this was enabled by default!
Regards,
Simen