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 photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
oclgrind SPIR interpreter and virtual OpenCL device simulator
21.10,1 devel on this many watch lists=2 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.10,1Version of this port present on the latest quarterly branch.
Maintainer: jmd@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-02-10 00:23:17
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: BSD3CLAUSE
WWW:
https://github.com/jrprice/Oclgrind
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (28 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/oclgrind-21.10,1/catalog.mk
  3. /usr/local/share/licenses/oclgrind-21.10,1/LICENSE
  4. /usr/local/share/licenses/oclgrind-21.10,1/BSD3CLAUSE
  5. bin/oclgrind
  6. bin/oclgrind-kernel
  7. include/oclgrind/Context.h
  8. include/oclgrind/Kernel.h
  9. include/oclgrind/KernelInvocation.h
  10. include/oclgrind/Memory.h
  11. include/oclgrind/Plugin.h
  12. include/oclgrind/Program.h
  13. include/oclgrind/Queue.h
  14. include/oclgrind/WorkGroup.h
  15. include/oclgrind/WorkItem.h
  16. include/oclgrind/common.h
  17. include/oclgrind/opencl-c-1.2-32.pch
  18. include/oclgrind/opencl-c-1.2-64.pch
  19. include/oclgrind/opencl-c-2.0-32.pch
  20. include/oclgrind/opencl-c-2.0-64.pch
  21. include/oclgrind/opencl-c-base.h
  22. include/oclgrind/opencl-c.h
  23. lib/liboclgrind-rt-icd.so
  24. lib/liboclgrind-rt.so
  25. lib/liboclgrind.so
  26. @owner
  27. @group
  28. @mode
Collapse this list.
Dependency lines:
  • oclgrind>0:devel/oclgrind
To install the port:
cd /usr/ports/devel/oclgrind/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/oclgrind
  • pkg install oclgrind
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: oclgrind
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1638296132 SHA256 (jrprice-Oclgrind-v21.10_GH0.tar.gz) = b40ea81fcf64e9012d63c3128640fde9785ef4f304f9f876f53496595b8e62cc SIZE (jrprice-Oclgrind-v21.10_GH0.tar.gz) = 219855

Packages (timestamps in pop-ups are UTC):
oclgrind
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.10,121.10,120190907_121.10,121.10,1-20190907_1-
FreeBSD:13:quarterly21.10,121.10,121.10,121.10,121.10,121.10,121.10,121.10,1
FreeBSD:14:latest21.10,121.10,121.10,121.10,121.10,121.10,1-21.10,1
FreeBSD:14:quarterly21.10,121.10,1-21.10,121.10,121.10,121.10,121.10,1
FreeBSD:15:latest21.10,121.10,1n/a21.10,1n/a21.10,121.10,121.10,1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. opencl>=0 : devel/opencl
  2. llvm-config12 : devel/llvm12
  3. cmake : devel/cmake-core
  4. ninja : devel/ninja
Runtime dependencies:
  1. opencl>=0 : devel/opencl
  2. llvm12>=0 : devel/llvm12
Library dependencies:
  1. libOpenCL.so : devel/ocl-icd
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_oclgrind
USES:
cmake
pkg-message:
For install:
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
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/jrprice/Oclgrind/tar.gz/v21.10?dummy=/
Collapse this list.

Number of commits found: 25

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
21.10,1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
21.10,1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
21.10,1
19 Jan 2022 11:04:10
commit hash: 65d22e337b24d93b905df48fabce173fec80a430commit hash: 65d22e337b24d93b905df48fabce173fec80a430commit hash: 65d22e337b24d93b905df48fabce173fec80a430commit hash: 65d22e337b24d93b905df48fabce173fec80a430 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/oclgrind: fix build on riscv64

ld: error: testCCompiler.c:(.text+0x0): relocation R_RISCV_ALIGN requires
unimplemented linker relaxation; recompile with -mno-relax
21.10,1
01 Dec 2021 14:49:59
commit hash: 793bb9ca82977fc2d6e5633e04a2af9a793ff45ccommit hash: 793bb9ca82977fc2d6e5633e04a2af9a793ff45ccommit hash: 793bb9ca82977fc2d6e5633e04a2af9a793ff45ccommit hash: 793bb9ca82977fc2d6e5633e04a2af9a793ff45c files touched by this commit
Johannes M Dieterich (jmd) search for other commits by this committer
devel/oclgrind: increment PORTEPOCH

Due to the version change to abbreviated years (21.10) we'd otherwise go
backwards.
21.10
30 Nov 2021 18:53:02
commit hash: 31637dc81773fce2b313ec59036a546d5d22edaecommit hash: 31637dc81773fce2b313ec59036a546d5d22edaecommit hash: 31637dc81773fce2b313ec59036a546d5d22edaecommit hash: 31637dc81773fce2b313ec59036a546d5d22edae files touched by this commit
Johannes M Dieterich (jmd) search for other commits by this committer
devel/oclgrind: update to 21.10

Changelog: https://github.com/jrprice/Oclgrind/releases/tag/v21.10

Update LLVM dependency to LLVM12 - minimum LLVM11 is required upstream.

Remove powerpc special casing in-line with comment (LLVM >9)

Add pkg-message that procfs(5) is required.

Clean pkg-descr whitespace.
20190907_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20190907_1
05 Jul 2020 20:01:19
Revision:541305Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/oclgrind: fix build on powerpc64 elfv2

LLVM 8 works by default in elfv1 mode, which doesn't really work on FreeBSD with
our gcc 4.2, but supports switching to elfv2. Since it build properly on elfv2,
hardcode it until the port switches to newer LLVM.
20190907_1
11 May 2020 20:11:41
Revision:534936Original commit files touched by this commit
jbeich search for other commits by this committer
Adapt LLVM_DEFAULT downgrades to the new version scheme in devel/llvm10

$ DEFAULT_VERSIONS=llvm=90 make -V LLVM_DEFAULT -C graphics/mesa-dri
80
$ DEFAULT_VERSIONS=llvm=10 make -V LLVM_DEFAULT -C graphics/mesa-dri
10

PR:		245178
Reported by:	mi
Approved by:	x11 (zeising), maintainer timeout (2 months)
MFH:		2020Q2 (for llvm10 users)
Differential Revision:	https://reviews.freebsd.org/D24222
20190907_1
20 Sep 2019 19:58:36
Revision:512440Original commit files touched by this commit
jbeich search for other commits by this committer
Switch default devel/llvm* to 90

PR:		239682
Reviewed by:	tobik
Differential Revision:	https://reviews.freebsd.org/D21172
20190907_1
08 Sep 2019 06:26:19
Revision:511550Original commit files touched by this commit
antoine search for other commits by this committer
Remove unneeded USES=compiler
20190907_1
08 Sep 2019 00:01:24
Revision:511525Original commit files touched by this commit
jmd search for other commits by this committer
devel/oclgrind: always compile with CXX/CC from LLVM_DEFAULT

This will fix issues when switching LLVM_DEFAULT to 9.0 on releases with
older base compilers.

PR:		239682
20190907
07 Sep 2019 23:22:34
Revision:511523Original commit files touched by this commit
jmd search for other commits by this committer
devel/oclgrind: respect LLVM_DEFAULT.

Was introduced in r495460, it seems.

While there, update to the latest snapshot which fixes a bug in rect command
types.

PR:		239719
Reported by:	jbeich
20190807
07 Aug 2019 21:14:59
Revision:508351Original commit files touched by this commit
jmd search for other commits by this committer
devel/oclgrind: update to tip of repository

Most notably fixes a bunch of memory leaks.
20190218_2
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
20190218_1
20 Mar 2019 12:23:26
Revision:496337Original commit files touched by this commit
jbeich search for other commits by this committer
Switch to devel/llvm80 for DEFAULT_VERSIONS

PR:		235215
20190218
12 Mar 2019 15:33:55
Revision:495460Original commit files touched by this commit
brooks search for other commits by this committer
Upgrade to the latest version on github.

Switch to using LLVM_DEFAULT instead of a hard-coded dependency on
llvm50.

PR:		236469
Approved by:	jmd (maintainer)
20180101_2
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
20180101_1
02 Nov 2018 13:32:35
Revision:483807Original commit files touched by this commit
rene search for other commits by this committer
Remove compatibility code for FreeBSD < 11.2 from all ports.

Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
20180101_1
29 Jul 2018 22:18:46
Revision:475857Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
20180101
11 Jun 2018 01:44:15
Revision:472160Original commit files touched by this commit
linimon search for other commits by this committer
Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
20180101
03 Jan 2018 02:20:14
Revision:457941Original commit files touched by this commit
jmd search for other commits by this committer
devel/oclgrind: Update LLVM dependency to LLVM5 to stay in lockstep with the
other OpenCL ports (see PR). In my testing, this also requires a newer
development snapshot for runtime stability - so update to latest snapshot.

PR:		224652
Submitted by:	jbeich (for the LLVM update)
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D13726
20170919
28 Sep 2017 02:44:48
Revision:450800Original commit files touched by this commit
jmd search for other commits by this committer
Upgrade oclgrind to catch up with 8 months of development. Among the changes:
int64 atomics support, more parts of OpenCL 2.0, and usage of clang's builtin
OpenCL headers.

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D12523
20170122
11 Feb 2017 01:58:10
Revision:433831Original commit files touched by this commit
sunpoet search for other commits by this committer
Update MAINTAINER: use @FreeBSD.org
20170122
10 Feb 2017 00:23:05
Revision:433780Original commit files touched by this commit
jmd search for other commits by this committer
Add oclgrind port. Oclgrind is the OpenCL equivalent of valgrind and useful to
debug OpenCL kernels and OpenCL enabled codes.

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9467

Number of commits found: 25