From 3e5195579c1f1d47f9f73484db83918237b3114c71f6f8d7cbb4e0ee9203d01b Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Thu, 27 Apr 2023 06:51:56 +0000 Subject: [PATCH] Accepting request 1080379 from home:frispete:blender - update to 1.12.10.0: + feat(testrender): Modify testrender so that it correctly sets raytype to "camera" for camera rays, "shadow" for shadow rays, and "diffuse" for all secondary rays. Also rerun the shades for background shader group on the camera rays rather than use the cached map. This helps the MaterialX project use testrender for certain unit tests and verification. #1648 #1649 + feat: Expose llvm groupdata size as a shadergroup attribute "llvm_groupdata_size". #1642 + fix: Crash could result from uncaught exception in OpenColorIO when calling transformc with derivatives for color spaces that require OCIO. #1646 + fix: certain uses of fmod() in shaders could fail to generate LLVM code correctly, due to a missing implementation for the fmod(triple,float) varieties. #1643 + build: Change snprintf formatting to satisfy some compilers. #1640 + CI: Fix broken Mac ci. #1647 - Force build with LLVM 15 on TW - Add a BuildIgnore for clang-tools, that would render the llvm15 containment ineffective otherwise (by depending on clang16). - Add 4G memory _constraints OBS-URL: https://build.opensuse.org/request/show/1080379 OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=52 --- OpenShadingLanguage-1.12.10.0.tar.gz | 3 +++ OpenShadingLanguage-1.12.9.0.tar.gz | 3 --- OpenShadingLanguage.changes | 30 ++++++++++++++++++++++++++++ OpenShadingLanguage.spec | 12 ++++++++--- _constraints | 8 ++++++++ 5 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 OpenShadingLanguage-1.12.10.0.tar.gz delete mode 100644 OpenShadingLanguage-1.12.9.0.tar.gz create mode 100644 _constraints diff --git a/OpenShadingLanguage-1.12.10.0.tar.gz b/OpenShadingLanguage-1.12.10.0.tar.gz new file mode 100644 index 0000000..01a1393 --- /dev/null +++ b/OpenShadingLanguage-1.12.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f82b705bd792f58d9a3917bcfd479cfafe1d8e1041e004e7e7baf0227bc1fcfa +size 20285435 diff --git a/OpenShadingLanguage-1.12.9.0.tar.gz b/OpenShadingLanguage-1.12.9.0.tar.gz deleted file mode 100644 index 4783232..0000000 --- a/OpenShadingLanguage-1.12.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12d58f8fc35ca317e77d1d4d10673221e884843c4d7e542ecf1d9ad632fbcb28 -size 20253932 diff --git a/OpenShadingLanguage.changes b/OpenShadingLanguage.changes index 15d3ce7..4e50267 100644 --- a/OpenShadingLanguage.changes +++ b/OpenShadingLanguage.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Apr 1 09:50:52 UTC 2023 - Hans-Peter Jansen + +- update to 1.12.10.0: + + feat(testrender): Modify testrender so that it correctly sets + raytype to "camera" for camera rays, "shadow" for shadow rays, + and "diffuse" for all secondary rays. Also rerun the shades for + background shader group on the camera rays rather than use the + cached map. This helps the MaterialX project use testrender for + certain unit tests and verification. #1648 #1649 + + feat: Expose llvm groupdata size as a shadergroup attribute + "llvm_groupdata_size". #1642 + + fix: Crash could result from uncaught exception in OpenColorIO + when calling transformc with derivatives for color spaces that + require OCIO. #1646 + + fix: certain uses of fmod() in shaders could fail to generate + LLVM code correctly, due to a missing implementation for the + fmod(triple,float) varieties. #1643 + + build: Change snprintf formatting to satisfy some compilers. + #1640 + + CI: Fix broken Mac ci. #1647 +- Force build with LLVM 15 on TW +- Add a BuildIgnore for clang-tools, that would render the llvm15 + containment ineffective otherwise (by depending on clang16). + ------------------------------------------------------------------- Wed Feb 15 12:58:36 UTC 2023 - Dirk Müller @@ -32,6 +57,11 @@ Sat Dec 10 21:04:49 UTC 2022 - Dirk Müller * Build: Fix how version overrides work to reduce the chance of user mistakes. +------------------------------------------------------------------- +Sat Dec 3 11:21:09 UTC 2022 - Hans-Peter Jansen + +- Add 4G memory _constraints + ------------------------------------------------------------------- Fri Nov 4 16:54:56 UTC 2022 - Hans-Peter Jansen diff --git a/OpenShadingLanguage.spec b/OpenShadingLanguage.spec index 6fea92a..fcbaf52 100644 --- a/OpenShadingLanguage.spec +++ b/OpenShadingLanguage.spec @@ -23,7 +23,7 @@ %define oiio_major_minor_ver %(rpm -q --queryformat='%%{version}' OpenImageIO-devel | cut -d . -f 1-2) Name: OpenShadingLanguage -Version: 1.12.9.0 +Version: 1.12.10.0 Release: 0 Summary: A language for programmable shading License: BSD-3-Clause @@ -34,14 +34,20 @@ Source1: https://creativecommons.org/licenses/by/3.0/legalcode.txt#/CC-BY BuildRequires: OpenEXR-devel >= 2.3 BuildRequires: OpenImageIO >= 2.2 BuildRequires: bison -BuildRequires: clang-devel > 7 +%if 0%{?suse_version} > 1500 +#!BuildIgnore: clang-tools +BuildRequires: clang15-devel +BuildRequires: llvm15-devel +%else +BuildRequires: clang-devel > 9 +BuildRequires: llvm-devel > 9 +%endif BuildRequires: cmake >= 3.12 BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel -BuildRequires: llvm-devel > 9 %ifnarch %{arm} # Build fails with partio on armv7/armv6 BuildRequires: partio-devel diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..26f26ed --- /dev/null +++ b/_constraints @@ -0,0 +1,8 @@ + + + + + 4 + + +