Created attachment 147820 [details] osl version 1.5.11 Attached is an update for graphics/openshadinglanguage version 1.5.11
Maintainer CC'd
I'll take it.
Created attachment 147891 [details] osl update 1.5.11
The update I was about to send also includes changing to llvm/clang 3.4 With clang 3.4 in 9.3 and 10.1 base systems I think using 3.4 is a reasonable option. A patch for testshade/testshade.cpp is also needed to compile on 32 bit systems. With the blender 2.72 release coming in the next couple of weeks we can have this update committed at the same time - 2.71 doesn't build with osl 1.5.x which is why I waited for the 2.72 release. I have compiled osl on 8.4 9.3 and 10.0 however I have had issues with blender if gcc is used as the default compiler. As osl is a non-default option that may not matter as far as updating the port.
The problem with clang/llvm34 for blender 2.72 are crashes on rendering animations throgh ffmpeg, if SSE is enabled on amd64 machines. clang does not seem to align memory properly for SSE2 instructions, such as the movdqa call. Is there a chance to get osl compiled with clang35 and llvm35 instead? Some blender devs reported that this may fix the alignment issues.
Is it okay with you, if I update the openshadinglanguage with the clang35 changes, we discussed via mail?
Sure. No problems using clang35
A commit references this bug: Author: mva Date: Sun Nov 23 14:36:42 UTC 2014 New revision: 373155 URL: https://svnweb.freebsd.org/changeset/ports/373155 Log: - Update to version 1.5.11 PR: 194028 Submitted by: myself Approved by: FreeBSD@ShaneWare.Biz (maintainer) Changes: head/graphics/openshadinglanguage/Makefile head/graphics/openshadinglanguage/distinfo head/graphics/openshadinglanguage/pkg-plist
Committed, thanks.