$ pkg install llvm70 $ make [...] -- Found LLVM 7.0.1 -- Using LLVMConfig.cmake in: /usr/local/llvm70/lib/cmake/llvm -- Using opencl-c.h: /usr/local/llvm70/lib/clang/7.0.1/include/opencl-c.h [...] [2/55] cd /wrkdirs/usr/ports/devel/oclgrind/work/.build && /usr/local/llvm70/bin/clang -cc1 -x cl -cl-std=CL1.2 -$0 -fno-builtin -fgnu89-inline -emit-pch -triple spir-unknown-unknown -relocatable-pch -isysroot /wrkdirs/usr/port$/devel/oclgrind/work/.build/include/oclgrind/ include/oclgrind/opencl-c.h -o include/oclgrind/opencl-c-1.2-32.pch [...]
Fixed in r511523
A commit references this bug: Author: jmd Date: Sat Sep 7 23:22:34 UTC 2019 New revision: 511523 URL: https://svnweb.freebsd.org/changeset/ports/511523 Log: 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 Changes: head/devel/oclgrind/Makefile head/devel/oclgrind/distinfo