Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 881869

Summary: dev-util/spirv-llvm-translator: LLVM 16 compatible snapshots?
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Jan Henke <gentoo>
Status: RESOLVED OBSOLETE    
Severity: normal CC: conikost, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-19 08:13:02 UTC
Now that libclc uses spirv-llvm-translator and we package weekly LLVM 16 snapshots, is there any chance to get snapshots of spirv-llvm-translator (with empty KEYWORDS) that would work with the respective LLVM versions?
Comment 1 Jan Henke 2022-11-19 10:59:25 UTC
I took this package mainly because it is a dependency of intel-compute-runtime and was maintainer-wanted at that time. So far it mainly required a bump once for every LLVM release.

I currently do not see pushing a weekly snapshot myself, especially via proxy-maint.

So I think we have the following options:
1. -9999 live ebuild, so no explicit snapshots, but ability to build upstream git.
2. Informal agreement that you, or someone else maintaining libclc, uploads snapshot-ebuild on a by demand basis, while the stable ebuilds are still maintained by Conikost and myself.
3. You take over this package if your package has more specific requirements than intel-compute-runtime.

I have no preference towards one particular of the options, so just pick which one suits your needs best. intel-compute-runtime just needs a version matching the used LLVM version, but usually lacks behind LLVM stabilisation anyway. Therefore I assume you need new versions way before they have to be stabilized for my package.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-11-19 11:01:58 UTC
Are you by any chance aware if upstream is adding support for new LLVM versions prior to their release?
Comment 3 Jan Henke 2022-11-19 11:21:18 UTC
Sorry, I do not actively follow upstream. My use case is limited to adding a new version if intel-compute-runtime requires one (or if someone requests a bump via a bug).
Comment 4 Conrad Kostecki gentoo-dev 2022-11-19 18:20:12 UTC
Looking through upstream repo, i looks like, that could be some LLVM16 support. Upstream CMakeFiles in Git require LLVM 16.

I wouldn't bet, that support is fully done. Someone would need to test it. Looking from our primary consumer, intel-graphics-compiler, I don't see any way to test, as intel-graphics-compiler currently does not support LLVM15 and LLVM16.