BSD Ports

graphics/shaderc 2025.5p0 OpenBSD

SL/HLSL to SPIR-V shader compiler

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Omar Polo <[email protected]>
Categories
graphics, lang/python

Description

shaderc is a collection of tools, libraries and tests for shader compilation. At the moment it includes:

  • glslc, a command line compiler for GLSL/HLSL to SPIR-V, and
  • libshaderc, a library API for accessing glslc functionality.

glslc wraps around core functionality in glslang and SPIRV-Tools. glslc and its library aims to to provide:

  • a command line compiler with GCC- and Clang-like usage, for better integration with build systems
  • an API where functionality can be added without breaking existing clients
  • an API supporting standard concurrency patterns across multiple operating systems
  • increased functionality such as file #include support

In the other systems

SystemPortVersion
OpenBSDgraphics/shaderc2025.5p0
FreeBSDgraphics/shaderc2026.4_1
NetBSDgraphics/shaderc2026.3nb2
DragonFlygraphics/shaderc2025.1
MidnightBSDgraphics/shaderc2026.1

Install

Binary package:

pkg_add shaderc

From the ports tree:

cd /usr/ports/graphics/shaderc && make install

Dependencies

Build dependencies 6
Run dependencies 1