BSD Ports

devel/oclgrind 26.03.1,1 FreeBSD

SPIR interpreter and virtual OpenCL device simulator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f397b2a6f6
License
BSD3CLAUSE
Categories
devel
Package size
13737.0 KiB, 61016.9 KiB installed

Description

Oclgrind

SPIR interpreter and virtual OpenCL device simulator

Oclgrind implements a virtual OpenCL device simulator, including an OpenCL runtime with ICD support. The goal is to provide a platform for creating tools to aid OpenCL development. In particular, this project currently implements utilities for debugging memory access errors, detecting data-races and barrier divergence, collecting instruction histograms, and for interactive OpenCL kernel debugging. The simulator is built on an interpreter for LLVM IR.

In the other systems

SystemPortVersion
FreeBSDdevel/oclgrind26.03.1,1
DragonFlydevel/oclgrind21.10,1

Install

Binary package:

pkg install oclgrind

From the ports tree:

cd /usr/ports/devel/oclgrind/ && make install clean

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

RUN_DEPENDS=	oclgrind>0:devel/oclgrind
LIB_DEPENDS=	liboclgrind-rt-icd.so:devel/oclgrind

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:latest26.03.1,126.03.1,121.10,121.10,126.03.1,1
FreeBSD:14:quarterly26.03.1,126.03.1,1n/a21.10,126.03.1,1
FreeBSD:15:latest26.03.1,126.03.1,1n/a21.10,121.10,1
FreeBSD:15:quarterly26.03.1,126.03.1,1n/an/an/a
FreeBSD:16:latest26.03.1,126.03.1,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 1

Runtime 1

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

Build dependencies 20
Run dependencies 5

No port depends on this one.

Configuration

No options to configure.

USES
cmake
Service scripts
none

Message after installing

oclgrind requires procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

	mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

	proc	/proc		procfs		rw	0	0

===>   NOTICE:

The oclgrind port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

pkg-plist 21
  • bin/oclgrind
  • bin/oclgrind-kernel
  • include/oclgrind/Context.h
  • include/oclgrind/Kernel.h
  • include/oclgrind/KernelInvocation.h
  • include/oclgrind/Memory.h
  • include/oclgrind/Plugin.h
  • include/oclgrind/Program.h
  • include/oclgrind/Queue.h
  • include/oclgrind/WorkGroup.h
  • include/oclgrind/WorkItem.h
  • include/oclgrind/common.h
  • include/oclgrind/opencl-c-1.2-32.pch
  • include/oclgrind/opencl-c-1.2-64.pch
  • include/oclgrind/opencl-c-2.0-32.pch
  • include/oclgrind/opencl-c-2.0-64.pch
  • include/oclgrind/opencl-c-base.h
  • include/oclgrind/opencl-c.h
  • lib/liboclgrind-rt-icd.so
  • lib/liboclgrind-rt.so
  • lib/liboclgrind.so
distinfo 1
FileSizeSHA256
jrprice-Oclgrind-v26.03.1_GH0.tar.gz222577d21a705a2b71491b1505f34a50e14f9666516d1654c0e6745983408bb300e4c2

Commit history 1

DateCommitCreditsLog message
f397b2a6f6 Brooks Davis devel/oclgrind: update to 26.03.1
This release is reported to work with LLVM 18 though 22 rather than the ancient llvm12 the previous version was using. This update is only compile-tested.