macOS
brew install spirv-llvm-translatorlocal Homebrew formula metadata
安装
brew install spirv-llvm-translatorlocal Homebrew formula metadata
sudo apk add spirv-llvm-translatorAlpine Linux edge package indexes · spirv-llvm-translator · 来源: dl-cdn.alpinelinux.org
sudo dnf install spirv-llvm-translatorFedora Rawhide package metadata · spirv-llvm-translator · 来源: dl.fedoraproject.org
nix profile install nixpkgs#spirv-llvm-translatornixpkgs package indexes · pkgs/by-name/sp/spirv-llvm-translator/package.nix · 来源: api.github.com
sudo pacman -S spirv-llvm-translatorArch Linux sync databases · spirv-llvm-translator · 来源: geo.mirror.pkgbuild.com
sudo zypper install libLLVMSPIRVLib-developenSUSE Tumbleweed package metadata · libLLVMSPIRVLib-devel · 来源: download.opensuse.org
概览
Tool and a library for bi-directional translation between SPIR-V and LLVM IR
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
llvm-spirv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
安装元数据
| 软件包键 | brew:spirv-llvm-translator |
|---|---|
| 版本 | 22.1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/spirv-llvm-translator |
| 主页 | https://github.com/KhronosGroup/SPIRV-LLVM-Translator |
| 仓库 | https://github.com/KhronosGroup/SPIRV-LLVM-Translator |
| 上游文档 | https://github.com/KhronosGroup/SPIRV-LLVM-Translator#readme |
| 许可证 | Apache-2.0 WITH LLVM-exception |
| 源码归档 | https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v22.1.2.tar.gz |
| 最后更新 | 2026-06-22T14:06:20-07:00 |
| Pulse | updated |
| 依赖 | llvm |
| 构建依赖 | cmake, pkgconf, spirv-headers |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 libLLVMSPIRVLib22来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.