macOS
brew install spirv-llvm-translatorlocal Homebrew formula metadata
brew
Tool and a library for bi-directional translation between SPIR-V and LLVM IR. Version 22.1.2 via Homebrew; verified 2026-06-22.
install
brew install spirv-llvm-translatorlocal Homebrew formula metadata
sudo apk add spirv-llvm-translatorAlpine Linux edge package indexes · spirv-llvm-translator · source: dl-cdn.alpinelinux.org
sudo dnf install spirv-llvm-translatorFedora Rawhide package metadata · spirv-llvm-translator · source: dl.fedoraproject.org
nix profile install nixpkgs#spirv-llvm-translatornixpkgs package indexes · pkgs/by-name/sp/spirv-llvm-translator/package.nix · source: api.github.com
sudo pacman -S spirv-llvm-translatorArch Linux sync databases · spirv-llvm-translator · source: geo.mirror.pkgbuild.com
sudo zypper install libLLVMSPIRVLib-developenSUSE Tumbleweed package metadata · libLLVMSPIRVLib-devel · source: download.opensuse.org
overview
Tool and a library for bi-directional translation between SPIR-V and LLVM IR
history
SPIRV-LLVM-Translator is Khronos Group's LLVM/SPIR-V bidirectional translator, packaged mainly for developers building OpenCL, SYCL, and GPU-compute compiler stacks that need the `llvm-spirv` command or `LLVMSPIRVLib`.
Khronos released SPIR-V 1.0 in 2015 as a standardized intermediate language for graphics shaders and compute kernels, and announced open source utilities including a bidirectional LLVM-to-SPIR-V translator. The translator repository now describes itself as the source for a library and command-line tool that translate between LLVM IR and SPIR-V, with current support focused on the OpenCL/compute `Kernel` capability.
The project tracks LLVM closely: its README says the main branch is intended to build against LLVM main, while release tags map to released LLVM and Clang versions. That makes the package feel less like a standalone end-user app and more like a bridge component in a larger compiler-toolchain graph.
The package-manager footprint in the supplied input lists the translator in Homebrew, Alpine, Fedora, Nix, Arch, and openSUSE-family packaging. That distribution pattern reflects its role as a low-level build dependency for toolchains rather than a command most users install directly.
The central CLI is `llvm-spirv`: the README documents translating LLVM bitcode to SPIR-V and using `-r` to translate SPIR-V back to LLVM bitcode. It also documents version and extension controls, which matter when compiler output must match a particular OpenCL or SPIR-V environment.
Package maintainers care because the translator has to line up with LLVM, SPIRV-Headers, and often SPIRV-Tools. Small version mismatches can break builds or validation in GPU compiler stacks, so distro formulas and ports tend to encode it as part of the wider Khronos/LLVM toolchain set.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
llvm-spirv | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
install metadata
| Package key | brew:spirv-llvm-translator |
|---|---|
| Version | 22.1.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/spirv-llvm-translator |
| Homepage | https://github.com/KhronosGroup/SPIRV-LLVM-Translator |
| Repository | https://github.com/KhronosGroup/SPIRV-LLVM-Translator |
| Upstream docs | https://github.com/KhronosGroup/SPIRV-LLVM-Translator#readme |
| License | Apache-2.0 WITH LLVM-exception |
| Source archive | https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v22.1.2.tar.gz |
| Last updated | 2026-06-22T14:06:20-07:00 |
| Pulse | updated |
| Dependencies | llvm |
| Build dependencies | cmake, pkgconf, spirv-headers |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | spirv-llvm-translator |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
spirv-llvm-translator
nix profile install nixpkgs#spirv-llvm-translatorspirv-llvm-translator 22.1.0-r0
Library for bi-directional translation between SPIR-V and LLVM IR
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo apk add spirv-llvm-translatorspirv-llvm-translator-dev 22.1.0-r0
Library for bi-directional translation between SPIR-V and LLVM IR (development files)
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo apk add spirv-llvm-translator-devspirv-llvm-translator-libs 22.1.0-r0
Library for bi-directional translation between SPIR-V and LLVM IR (libraries)
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo apk add spirv-llvm-translator-libsspirv-llvm-translator 22.1.2-1.fc45
LLVM to SPIRV Translator
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo dnf install spirv-llvm-translatorspirv-llvm-translator-devel 22.1.2-1.fc45
Development files for LLVM to SPIRV Translator
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo dnf install spirv-llvm-translator-develspirv-llvm-translator-tools 22.1.2-1.fc45
Standalone llvm to spirv translator tool
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo dnf install spirv-llvm-translator-toolsspirv-llvm-translator 22.1.2-1
LLVM <-> SPIR-V converter for compilers targeting SPIR-V
https://www.khronos.org/spirv/
sudo pacman -S spirv-llvm-translatorlibLLVMSPIRVLib-devel 22.1.2-1.1
Development files for LLVM/SPIR-V Bi-Directional Translator library
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo zypper install libLLVMSPIRVLib-devellibLLVMSPIRVLib22 22.1.2-1.1
LLVM/SPIR-V Bi-Directional Translator library
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
sudo zypper install libLLVMSPIRVLib22source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.