# Installer spirv-llvm-translator avec Homebrew, apk, dnf, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de spirv-llvm-translator pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:spirv-llvm-translator
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install spirv-llvm-translator
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add spirv-llvm-translator
```

  Preuve: Alpine Linux edge package indexes: spirv-llvm-translator from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install spirv-llvm-translator
```

  Preuve: Fedora Rawhide package metadata: spirv-llvm-translator from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#spirv-llvm-translator
```

  Preuve: 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

- pacman (92%):

```sh
sudo pacman -S spirv-llvm-translator
```

  Preuve: Arch Linux sync databases: spirv-llvm-translator from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libLLVMSPIRVLib-devel
```

  Preuve: openSUSE Tumbleweed package metadata: libLLVMSPIRVLib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:spirv-llvm-translator
- **Gestionnaire de paquets:** Homebrew
- **Version:** 22.1.5
- **Résumé source:** Tool and a library for bi-directional translation between SPIR-V and LLVM IR
- **Page d'accueil:** <https://github.com/KhronosGroup/SPIRV-LLVM-Translator>
- **Dépôt:** <https://github.com/KhronosGroup/SPIRV-LLVM-Translator>
- **Dernière mise à jour:** 2026-08-01T04:52:18Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- llvm-spirv (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 22.1.5
## Historique du projet et usages

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`.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://github.com/KhronosGroup/SPIRV-LLVM-Translator#readme>
- <https://www.khronos.org/news/press/khronos-releases-opencl-2.1-and-spir-v-1.0-specifications-for-heterogeneous>
- source_facts.package-manager


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - spirv-llvm-translator: normalized package name match | 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
- apk - spirv-llvm-translator - 22.1.0-r0: normalized package name match | Alpine Linux edge package indexes: spirv-llvm-translator from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for bi-directional translation between SPIR-V and LLVM IR | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- apk - spirv-llvm-translator-dev - 22.1.0-r0: normalized package name match | Alpine Linux edge package indexes: spirv-llvm-translator-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for bi-directional translation between SPIR-V and LLVM IR (development files) | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- apk - spirv-llvm-translator-libs - 22.1.0-r0: normalized package name match | Alpine Linux edge package indexes: spirv-llvm-translator-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for bi-directional translation between SPIR-V and LLVM IR (libraries) | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- dnf - spirv-llvm-translator - 22.1.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: spirv-llvm-translator from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | LLVM to SPIRV Translator | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- dnf - spirv-llvm-translator-devel - 22.1.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: spirv-llvm-translator-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for LLVM to SPIRV Translator | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- dnf - spirv-llvm-translator-tools - 22.1.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: spirv-llvm-translator-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Standalone llvm to spirv translator tool | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- pacman - spirv-llvm-translator - 22.1.5-1: normalized package name match | Arch Linux sync databases: spirv-llvm-translator from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | LLVM <-> SPIR-V converter for compilers targeting SPIR-V | https://www.khronos.org/spirv/
- zypper - libLLVMSPIRVLib-devel - 22.1.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libLLVMSPIRVLib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for LLVM/SPIR-V Bi-Directional Translator library | https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- zypper - libLLVMSPIRVLib22 - 22.1.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libLLVMSPIRVLib22 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | LLVM/SPIR-V Bi-Directional Translator library | https://github.com/KhronosGroup/SPIRV-LLVM-Translator


## Combined YAML source

View the package source record on GitHub. [combined/spirv-llvm-translator.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spirv-llvm-translator.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
