6 Commits

Author SHA1 Message Date
Daniel Golle 26e03d11a0 llvm-mesa: update to 22.1.5 / SPIRV-LLVM-Translator 22.1.2
Bump the Mesa-internal LLVM (kept in feeds/video/libs/llvm/) from
21.1.3 to 22.1.5, and the matching SPIRV-LLVM-Translator from
21.1.1 to 22.1.2.

The SPIRV-LLVM-Translator's major version tracks LLVM's major,
so it caps which LLVM major we can move to. Khronos has now
shipped v22.1.2 (latest in the 22.x series), allowing the LLVM
major bump.

Mesa 26.0.6 sets only a minimum LLVM (>= 18 / 15 / 8 depending
on the requested driver set); no upper bound, so LLVM 22.x is
acceptable.

Two LLVM 22 build-system changes need adapting in the Makefile:

 1. LIBCLC_TARGETS_TO_BUILD got stricter target name validation:
    'amdgcn--amdhsa' is rejected in favour of 'amdgcn-amd-amdhsa',
    and the 32-bit nvptx ('nvptx--', 'nvptx--nvidiacl') targets
    were dropped (the 64-bit equivalents remain).

 2. libclc bytecode now installs under
    'usr/lib/clang/<major>/lib/libclc/' rather than the previous
    'usr/share/clc/'. Adjust the SPIR-V .spv copy in Build/Install
    to source from the new location (a glob on the major version
    avoids re-touching this on the next bump).

The downstream 100-allow-arc-target.patch still applies unchanged.

Link: https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.5
Link: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/tag/v22.1.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-17 12:46:41 +01:00
Daniel Golle 6654714a46 llvm: update LLVM to 21.1.3 with SPIRV-LLVM-Translator 21.1.1
Update LLVM to the new major version 21 as well as the corresponsing
LLVM IR <-> SPIRV converter.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-10-19 14:53:15 +01:00
Daniel Golle cf0b245b2d llvm: update LLVM to 20.1.8 and SPIRV-LLVM-Translator to 20.1.4
Update the LLVM build used for Mesa.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-21 17:04:39 +01:00
Daniel Golle fac36b6e21 llvm: update SPIRV-LLVM-Translator to 20.1.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-17 23:53:34 +01:00
Daniel Golle 094921da16 llvm: update to 20.1.3
Update spirv-llvm-translator subproject to 20.1.2.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-05-12 19:01:45 +01:00
Daniel Golle 27d4813504 llvm: add package
Add static LLVM host and target build for use with Mesa.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:15:41 +00:00