notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details on branch 2026Q1
spirv-llvm-translator Bi-directional translation between SPIR-V and LLVM IR
21.1.3 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 21.1.3Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-02-20 15:06:07
Last Update: 2026-02-20 15:29:35
Commit Hash: d03f3cc
License: NCSA
WWW:
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
Description:
LLVM/SPIR-V Bi-Directional Translator is a library and tool for translation between LLVM IR and SPIR-V.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • spirv-llvm-translator-llvm21>0:devel/spirv-llvm-translator
Conflicts:
CONFLICTS_BUILD:
  • llvm21-lite
To install the port:
cd /usr/ports/devel/spirv-llvm-translator/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/spirv-llvm-translator
  • pkg install spirv-llvm-translator-llvm21
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: spirv-llvm-translator-llvm21
Package flavors (<flavor>: <package>)
  • llvm21: spirv-llvm-translator-llvm21
  • llvm20: spirv-llvm-translator-llvm20
  • llvm19: spirv-llvm-translator-llvm19
  • llvm18: spirv-llvm-translator-llvm18
  • llvm17: spirv-llvm-translator-llvm17
  • llvm16: spirv-llvm-translator-llvm16
  • llvm15: spirv-llvm-translator-llvm15
  • llvm14: spirv-llvm-translator-llvm14
  • llvm13: spirv-llvm-translator-llvm13
  • llvm12: spirv-llvm-translator-llvm12
distinfo:
TIMESTAMP = 1763649517 SHA256 (KhronosGroup-SPIRV-LLVM-Translator-v21.1.3_GH0.tar.gz) = 43080fd5122c71cd93a3d174d59b9fc95ff8aeb1847d50f394088112f6b2a217 SIZE (KhronosGroup-SPIRV-LLVM-Translator-v21.1.3_GH0.tar.gz) = 1848611

Expand this list (2 items)

Collapse this list.

SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-446-g01e0577_GH0.tar.gz) = 587ce4165852fb4fd7352d81c141c02c0af735f25000212e5d9bd9d9c47f6e78 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-446-g01e0577_GH0.tar.gz) = 545796

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libLLVM-21.so : devel/llvm21
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_spirv-llvm-translator
USES:
cmake compiler:c++11-lib
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/KhronosGroup/SPIRV-LLVM-Translator/tar.gz/v21.1.3?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
21.1.3
20 Feb 2026 15:29:35
commit hash: d03f3ccd74cca65e97705c4ed7e3898e7077d9b9commit hash: d03f3ccd74cca65e97705c4ed7e3898e7077d9b9commit hash: d03f3ccd74cca65e97705c4ed7e3898e7077d9b9commit hash: d03f3ccd74cca65e97705c4ed7e3898e7077d9b9 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
devel/spirv-llvm-translator: properly check for multiple patch-*

$ touch files/patch-foo
$ touch files/patch-bar
$ make
[: /usr/ports/devel/spirv-llvm-translator/files/patch-bar: unexpected operator
...

(cherry picked from commit 5de84cc476a00ccd1ea0c933e35275882d8b8db4)
21.1.3
20 Feb 2026 15:04:22
commit hash: b01beecef8b6fb192a6fb9830f9fd8a6435fb83dcommit hash: b01beecef8b6fb192a6fb9830f9fd8a6435fb83dcommit hash: b01beecef8b6fb192a6fb9830f9fd8a6435fb83dcommit hash: b01beecef8b6fb192a6fb9830f9fd8a6435fb83d files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
Author: Dimitry Andric
devel/spirv-llvm-translator: unbreak llvm12 flavor with clang 21

With clang 21 the llvm12 flavor of devel/spirv-llvm-translator fails to
build, with errors similar to:

    In file included from
/wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/OCLTypeToSPIRV.cpp:44:
    In file included from
/wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/OCLUtil.h:42:
    In file included from
/wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/SPIRVInternal.h:43:
    In file included from
/wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/SPIRVEnum.h:44:
    In file included from
/wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/SPIRVOpCode.h:45:
   
/wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/spirv_internal.hpp:120:31:
error: constexpr variable 'FunctionControlOptNoneINTELMask' must be initialized
by a constant expression
      120 | constexpr FunctionControlMask FunctionControlOptNoneINTELMask =
          |                               ^
      121 |    
static_cast<FunctionControlMask>(IFunctionControlOptNoneINTELMask);
          |    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(Only the first 15 lines of the commit message are shown above View all of this commit message)
21.1.3
20 Feb 2026 15:04:22
commit hash: 90f512cec35bc417a83b7eb72b2cc94547bbb678commit hash: 90f512cec35bc417a83b7eb72b2cc94547bbb678commit hash: 90f512cec35bc417a83b7eb72b2cc94547bbb678commit hash: 90f512cec35bc417a83b7eb72b2cc94547bbb678 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
devel/spirv-llvm-translator: split port patches by flavor

Add patches to files.llvm*/ instead of files/ subdirectory.
For now, it lacks support for patches common to all flavors.

PR:		293293
(cherry picked from commit a93fd63ae97f7bb7737ede009224b492545f0e95)

Number of commits found: 3