BSD Ports

graphics/spirv-tools 2026.4 FreeBSD

Tools for processing SPIR-V intermediate shader language modules

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
cf3ecc47c6
License
APACHE20
Categories
graphics
Package size
4583.6 KiB, 39830.4 KiB installed

Description

The SPIR-V Tools project provides an API and commands for processing SPIR-V modules.

The project includes an assembler, binary module parser, disassembler, validator, and optimizer for SPIR-V. Except for the optimizer, all are based on a common static library. The library contains all of the implementation details, and is used in the standalone tools whilst also enabling integration into other code bases directly. The optimizer implementation resides in its own library, which depends on the core library.

In the other systems

SystemPortVersion
FreeBSDgraphics/spirv-tools2026.4
OpenBSDgraphics/spirv-tools1.4.357.0v0
NetBSDparallel/spirv-tools1.4.357.0nb1
DragonFlygraphics/spirv-tools2025.1
MidnightBSDgraphics/spirv-tools2026.1_1

Install

Binary package:

pkg install spirv-tools

From the ports tree:

cd /usr/ports/graphics/spirv-tools/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	spirv-tools>0:graphics/spirv-tools
LIB_DEPENDS=	libSPIRV-Tools-shared.so:graphics/spirv-tools

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026.42026.42022.4_12025.3.r12026.4
FreeBSD:14:quarterly2026.32026.3n/a2025.2.r12026.3
FreeBSD:15:latest2026.42026.4n/a2025.3.r12025.3.r1
FreeBSD:15:quarterly2026.32026.3n/an/an/a
FreeBSD:16:latest2026.32026.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Required by 1346

The first 100 are listed.

Configuration

Options name: graphics_spirv-tools

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cmake:testing compiler:c++11-lib python:build shebangfix
Service scripts
none

Files

pkg-plist 45
  • bin/spirv-as
  • bin/spirv-cfg
  • bin/spirv-diff
  • bin/spirv-dis
  • bin/spirv-lesspipe.sh
  • bin/spirv-link
  • bin/spirv-lint
  • bin/spirv-objdump
  • bin/spirv-opt
  • bin/spirv-reduce
  • bin/spirv-val
  • include/spirv-tools/libspirv.h
  • include/spirv-tools/libspirv.hpp
  • include/spirv-tools/linker.hpp
  • include/spirv-tools/optimizer.hpp
  • lib/cmake/SPIRV-Tools-diff/SPIRV-Tools-diffConfig.cmake
  • lib/cmake/SPIRV-Tools-diff/SPIRV-Tools-diffTargets-.cmake
  • lib/cmake/SPIRV-Tools-diff/SPIRV-Tools-diffTargets.cmake
  • lib/cmake/SPIRV-Tools-link/SPIRV-Tools-linkConfig.cmake
  • lib/cmake/SPIRV-Tools-link/SPIRV-Tools-linkTargets-.cmake
  • lib/cmake/SPIRV-Tools-link/SPIRV-Tools-linkTargets.cmake
  • lib/cmake/SPIRV-Tools-lint/SPIRV-Tools-lintConfig.cmake
  • lib/cmake/SPIRV-Tools-lint/SPIRV-Tools-lintTargets-.cmake
  • lib/cmake/SPIRV-Tools-lint/SPIRV-Tools-lintTargets.cmake
  • lib/cmake/SPIRV-Tools-opt/SPIRV-Tools-optConfig.cmake
  • lib/cmake/SPIRV-Tools-opt/SPIRV-Tools-optTargets-.cmake
  • lib/cmake/SPIRV-Tools-opt/SPIRV-Tools-optTargets.cmake
  • lib/cmake/SPIRV-Tools-reduce/SPIRV-Tools-reduceConfig.cmake
  • lib/cmake/SPIRV-Tools-reduce/SPIRV-Tools-reduceTarget-.cmake
  • lib/cmake/SPIRV-Tools-reduce/SPIRV-Tools-reduceTarget.cmake
  • lib/cmake/SPIRV-Tools-tools/SPIRV-Tools-toolsConfig.cmake
  • lib/cmake/SPIRV-Tools-tools/SPIRV-Tools-toolsTargets-.cmake
  • lib/cmake/SPIRV-Tools-tools/SPIRV-Tools-toolsTargets.cmake
  • lib/cmake/SPIRV-Tools/SPIRV-ToolsConfig.cmake
  • lib/cmake/SPIRV-Tools/SPIRV-ToolsTarget-.cmake
  • lib/cmake/SPIRV-Tools/SPIRV-ToolsTarget.cmake
  • lib/libSPIRV-Tools-diff.a
  • lib/libSPIRV-Tools-link.a
  • lib/libSPIRV-Tools-lint.a
  • lib/libSPIRV-Tools-opt.a
  • lib/libSPIRV-Tools-reduce.a
  • lib/libSPIRV-Tools-shared.so
  • lib/libSPIRV-Tools.a
  • libdata/pkgconfig/SPIRV-Tools-shared.pc
  • libdata/pkgconfig/SPIRV-Tools.pc
distinfo 2
FileSizeSHA256
KhronosGroup-SPIRV-Tools-v2026.4_GH0.tar.gz3.554324e+0692df4c377603f086c3d2a1eb2bd9b8f883a73ca890fb939d78a0cecdcc01686c
KhronosGroup-SPIRV-Headers-v2026.08.0-2-g4965431_GH0.tar.gz59408837b187680b7744763dae21a34417f263a8d6b7c6a1f34652d5d346e89a4f8736

Commit history 5

DateCommitCreditsLog message
cf3ecc47c6 Hiroki Tagato graphics/spirv-tools: Update to 2026.4
This is identical to 2026.4.rc2 except the version number. So no version bumps of dependent ports are necessary. Changelog: https://github.com/KhronosGroup/SPIRV-Tools/blob/v2026.4/CHANGES Reported by: GitHub (watch releases)
36c50e5bf7 Hiroki Tagato graphics/spirv-tools: Update to 2026.4.rc2
This update is needed for the latest version of Vulkan suite. Changelog: https://github.com/KhronosGroup/SPIRV-Tools/blob/v2026.4.rc2/CHANGES Reported by: olivier (via private email)
03adcaec9b Piotr Kubaj graphics/spirv-tools, devel/spirv-llvm-translator: fix build on BE
Backport patches from upstream PR`s: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/3658 https://github.com/KhronosGroup/SPIRV-Tools/pull/5302
21c46c70d1 Hiroki Tagato graphics/spirv-tools: Update to 2026.3
This release is identical to 2026.3.rc1. So no version bump for dependent ports. Changelog: https://github.com/KhronosGroup/SPIRV-Tools/blob/v2026.3/CHANGES (since 2026.2) Reported by: GitHub (watch releases)
f6a5507492 Hiroki Tagato graphics/spirv-tools: Update to 2026.3.rc1
Changelog: https://github.com/KhronosGroup/SPIRV-Tools/blob/v2026.3.rc1/CHANGES PR: 297161 Reported by: olivier Co-authored-by: Olivier Cochard <[email protected]>