1
0
forked from rosa/hakurei

internal/rosa/x: libpciaccess artifact

Required by userspace gpu drivers.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-13 19:04:38 +09:00
parent 15c9f6545d
commit 503c7f953c
3 changed files with 43 additions and 1 deletions

View File

@@ -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,
}
}