| Summary: | media-libs/mesa-9999: add use flag for rusticl | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Linus Lotz <gentoo> |
| Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexander, darkbasic, jason.oliveira |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/28209 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | mesa-9999.ebuild with rusticl IUSE, RDEPEND and emesonargs | ||
|
Description
Linus Lotz
2022-09-24 18:34:30 UTC
Created attachment 858507 [details] mesa-9999.ebuild with rusticl IUSE, RDEPEND and emesonargs According to https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/rusticl.rst, rustfmt is only needed for CI and debug, but bindgen is pulling it in, and the link says bindgen is required. Required Useflags: dev-lang/rust rustfmt virtual/rust rustfmt media-libs/mesa rusticl Weird, PKG_CONFIG_LIBDIR needs to point to /usr/lib/llvm/15/lib64/pkgconfig or LLVMSPIRVLib won't be found: https://github.com/gentoo/gentoo/pull/28209/files#diff-6c473421061cb7b3f14120cd9f34d9e88cb35c258b00e1c776909a25eab0840fR404 Does it work for you without it? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9797e687d9bf332f49dc448791510e85efc20257 commit 9797e687d9bf332f49dc448791510e85efc20257 Author: Niccolò Belli <niccolo.belli@linuxsystems.it> AuthorDate: 2022-11-10 10:55:29 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-05-12 17:18:42 +0000 media-libs/mesa: use rusticl instead of clover This has two notable regressions: - No multilib support - No R600 support Bug: https://bugs.gentoo.org/880615 Closes: https://bugs.gentoo.org/872677 Signed-off-by: Niccolò Belli <niccolo.belli@linuxsystems.it> Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 32 +++++++++++++++++--------------- media-libs/mesa/metadata.xml | 2 +- profiles/arch/x86/package.use.mask | 4 ++++ profiles/features/wd40/package.use.mask | 4 ++++ 4 files changed, 26 insertions(+), 16 deletions(-) |