Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, pacman, zypper 安装 spirv-llvm-translator

查看 spirv-llvm-translator 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install spirv-llvm-translator

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add spirv-llvm-translator

Alpine Linux edge package indexes · spirv-llvm-translator · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install spirv-llvm-translator

Fedora Rawhide package metadata · spirv-llvm-translator · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#spirv-llvm-translator

nixpkgs package indexes · pkgs/by-name/sp/spirv-llvm-translator/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S spirv-llvm-translator

Arch Linux sync databases · spirv-llvm-translator · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install libLLVMSPIRVLib-devel

openSUSE Tumbleweed package metadata · libLLVMSPIRVLib-devel · 来源: download.opensuse.org

概览

软件包摘要

Tool and a library for bi-directional translation between SPIR-V and LLVM IR

命令和别名

  • llvm-spirv

历史

项目历史与用法

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.

时间线

  • 2015: Khronos releases OpenCL 2.1 and SPIR-V 1.0 and announces open source SPIR-V utilities, including an LLVM/SPIR-V translator.
  • Ongoing: The translator main branch tracks LLVM main, with compatibility tags for released LLVM and Clang versions.

Related projects

  • SPIRV-Tools provides assembler, disassembler, validator, optimizer, and related processing commands that are commonly used alongside translator output.
  • SPIRV-Headers supplies the Khronos SPIR-V headers and grammar files consumed by SPIR-V tooling.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
llvm-spirvcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本22.1.2
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v22.1.2

https://github.com/KhronosGroup/SPIRV-LLVM-Translator

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖llvm
构建依赖cmake, pkgconf, spirv-headers
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namespirv-llvm-translator
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

spirv-llvm-translator

nix profile install nixpkgs#spirv-llvm-translator
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sp/spirv-llvm-translator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

spirv-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-translator
  • License: NCSA
  • Architecture: x86_64
  • Source Package: spirv-llvm-translator
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: spirv-llvm-translator from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

spirv-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-dev
  • License: NCSA
  • Architecture: x86_64
  • Source Package: spirv-llvm-translator
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: spirv-llvm-translator-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

spirv-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-libs
  • License: NCSA
  • Architecture: x86_64
  • Source Package: spirv-llvm-translator
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: spirv-llvm-translator-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

spirv-llvm-translator 22.1.2-1.fc45

LLVM to SPIRV Translator

https://github.com/KhronosGroup/SPIRV-LLVM-Translator

sudo dnf install spirv-llvm-translator
  • License: NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: spirv-llvm-translator
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: spirv-llvm-translator from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

spirv-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-devel
  • License: NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: spirv-llvm-translator
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: spirv-llvm-translator-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

spirv-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-tools
  • License: NCSA
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: spirv-llvm-translator
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: spirv-llvm-translator-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

spirv-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-translator
  • License: NCSA
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: spirv-llvm-translator from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libLLVMSPIRVLib-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-devel
  • License: BSD-3-Clause
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: spirv-llvm-translator
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libLLVMSPIRVLib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libLLVMSPIRVLib22 22.1.2-1.1

LLVM/SPIR-V Bi-Directional Translator library

https://github.com/KhronosGroup/SPIRV-LLVM-Translator

sudo zypper install libLLVMSPIRVLib22
  • License: BSD-3-Clause
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: spirv-llvm-translator
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Spirv Llvm Translator
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libLLVMSPIRVLib22 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment