aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/mesa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-13 19:04:38 +0900
committerOphestra <cat@gensokyo.uk>2026-04-13 19:04:38 +0900
commit503c7f953c412d220365aa50ffef31f331d37f6c (patch)
tree4705ffc1ff13b5fa45d3c55333299aaaa422057a /internal/rosa/mesa.go
parent15c9f6545d948feb2568d8cd26aac0c8ae489d92 (diff)
internal/rosa/x: libpciaccess artifact
Required by userspace gpu drivers. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/mesa.go')
-rw-r--r--internal/rosa/mesa.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/internal/rosa/mesa.go b/internal/rosa/mesa.go
index 33881a29..814cde4e 100644
--- a/internal/rosa/mesa.go
+++ b/internal/rosa/mesa.go
@@ -38,9 +38,14 @@ func (t Toolchain) newLibdrm() (pkg.Artifact, string) {
"mesa/libdrm",
"libdrm-"+version,
checksum,
- ), nil, (*MesonHelper)(nil),
+ ), nil, &MesonHelper{
+ Setup: []KV{
+ {"Dintel", "enabled"},
+ },
+ },
Binutils, // symbols check fail with llvm nm
+ Libpciaccess,
KernelHeaders,
), version
}
@@ -52,6 +57,10 @@ func init() {
Description: "a userspace library for accessing the DRM",
Website: "https://dri.freedesktop.org/",
+ Dependencies: P{
+ Libpciaccess,
+ },
+
ID: 1596,
}
}