Bug 239719

Summary: devel/oclgrind: does not respect LLVM_DEFAULT
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Johannes M Dieterich <jmd>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (jmd)
Version: Latest   
Hardware: Any   
OS: Any   

Description Jan Beich freebsd_committer freebsd_triage 2019-08-08 16:13:20 UTC
$ 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
[...]
Comment 1 Johannes M Dieterich freebsd_committer freebsd_triage 2019-09-07 23:23:13 UTC
Fixed in r511523
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-09-07 23:23:35 UTC
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