Port details |
- oclgrind SPIR interpreter and virtual OpenCL device simulator
- 21.10,1 devel
=2 21.10,1Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2017-02-10 00:23:17
- Last Update: 2024-11-28 16:10:52
- Commit Hash: b2ece91
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- opencl>=0 : devel/opencl
- llvm-config12 : devel/llvm12
- cmake : devel/cmake-core
- ninja : devel/ninja
- Runtime dependencies:
-
- opencl>=0 : devel/opencl
- llvm12>=0 : devel/llvm12
- Library dependencies:
-
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
21.10,1 28 Nov 2024 16:10:52
    |
Rene Ladan (rene)  |
all: return jmd's ports to the pool after safekeeping their commit bit. |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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
    |
Stefan Eßer (se)  |
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 ) |
21.10,1 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
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 ) |
21.10,1 19 Jan 2022 11:04:10
    |
Piotr Kubaj (pkubaj)  |
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
    |
Johannes M Dieterich (jmd)  |
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
    |
Johannes M Dieterich (jmd)  |
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
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
20190907_1 05 Jul 2020 20:01:19
  |
pkubaj  |
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
  |
jbeich  |
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
  |
jbeich  |
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
  |
antoine  |
Remove unneeded USES=compiler |
20190907_1 08 Sep 2019 00:01:24
  |
jmd  |
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
  |
jmd  |
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
  |
jmd  |
devel/oclgrind: update to tip of repository
Most notably fixes a bunch of memory leaks. |
20190218_2 26 Jul 2019 20:46:57
  |
gerald  |
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
  |
jbeich  |
Switch to devel/llvm80 for DEFAULT_VERSIONS
PR: 235215 |
20190218 12 Mar 2019 15:33:55
  |
brooks  |
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
  |
gerald  |
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
  |
rene  |
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
  |
gerald  |
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
  |
linimon  |
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
  |
jmd  |
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
  |
jmd  |
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
  |
sunpoet  |
Update MAINTAINER: use @FreeBSD.org |
20170122 10 Feb 2017 00:23:05
  |
jmd  |
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 |