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
This commit is contained in:
Hans-Peter Jansen 2023-04-27 06:51:56 +00:00 committed by Git OBS Bridge
parent 0442582e4d
commit 3e5195579c
5 changed files with 50 additions and 6 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f82b705bd792f58d9a3917bcfd479cfafe1d8e1041e004e7e7baf0227bc1fcfa
size 20285435

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12d58f8fc35ca317e77d1d4d10673221e884843c4d7e542ecf1d9ad632fbcb28
size 20253932

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sat Apr 1 09:50:52 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
- 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 <dmueller@suse.com>
@ -32,6 +57,11 @@ Sat Dec 10 21:04:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Build: Fix how version overrides work to reduce the chance of user
mistakes.
-------------------------------------------------------------------
Sat Dec 3 11:21:09 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
- Add 4G memory _constraints
-------------------------------------------------------------------
Fri Nov 4 16:54:56 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -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

8
_constraints Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<constraints>
<hardware>
<memory>
<size unit="G">4</size>
</memory>
</hardware>
</constraints>