#1 Update to 1.11.17.0 and backport LLVM14 support
Merged 2 years ago by luya. Opened 2 years ago by music.
rpms/ music/openshadinglanguage llvm14  into  rawhide

file modified
+1
@@ -9,3 +9,4 @@ 

  /Release-1.11.14.2.tar.gz

  /Release-1.11.15.0.tar.gz

  /Release-1.11.16.0.tar.gz

+ /Release-1.11.17.0.tar.gz

The added file is too large to be shown here, see it at: 0001-Support-for-LLVM-14-1492.patch
file modified
+24 -3
@@ -5,12 +5,33 @@ 

  %bcond_without  qt5

  

  Name:           openshadinglanguage

- Version:        1.11.16.0

+ Version:        1.11.17.0

  Release:        %autorelease

  Summary:        Advanced shading language for production GI renderers

  License:        BSD

  URL:            https://github.com/imageworks/OpenShadingLanguage

- Source0:         %{url}/archive/Release-%{version}%{?prerelease}.tar.gz

+ Source0:        %{url}/archive/Release-%{version}%{?prerelease}.tar.gz

+ 

+ # Backport upstream commit 9cfca9397b974f00bcc0915a4661be19e2e6e820:

+ #

+ #   Support for LLVM 14 (#1492)

+ #

+ #   API changes we had to take into account:

+ #   * TargetRegistry.h location

+ #   * No more DisableTailCalls field in PassManagerBuilder.

+ #

+ #   Needed to update the ref image for render-microfacet test, some sparklies

+ #   changed.  Looks like the new LLVM probably JITs to ever so slightly

+ #   different math code, tickling some LSB differences that at 1 sample per

+ #   pixel, results in some different sampling directions leading to fireflies.

+ #   We decided to just commit a new ref image and move on.

+ #

+ #   Signed-off-by: Larry Gritz <lg@larrygritz.com>

+ Patch:          0001-Support-for-LLVM-14-1492.patch

+ 

+ # Required for %%autosetup -S git, which in turn is required to use a patch

+ # from git containing a binary diff.

+ BuildRequires:  git-core

  

  BuildRequires:  bison

  BuildRequires:  boost-devel >= 1.55
@@ -145,7 +166,7 @@ 

  %{description}

  

  %prep

- %autosetup -p1 -n OpenShadingLanguage-Release-%{version}%{?prerelease}

+ %autosetup -p1 -n OpenShadingLanguage-Release-%{version}%{?prerelease} -S git

  # Use python3 binary instead of unversioned python

  sed -i -e "s/COMMAND python/COMMAND python3/" $(find . -iname CMakeLists.txt)

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (Release-1.11.16.0.tar.gz) = 717a588bb371ff64d41dc34caad6a4e8483cba32d3b8fe7db9f98e422be050b1b89e4cf7f018e1106dfc9120d2485c3d8430a63cd80344050b00082fdd45fa1b

+ SHA512 (Release-1.11.17.0.tar.gz) = 14cb25b10f4644551b906344a289e2a4c421f4c85beaa120bb1a1e532c9be3ec235622516c4700fb23d258c5dcd1ece18b84491b0973b3162098843a9059b1d2

Updated to 1.11.17.0 (compare with 1.11.16.0) and backported upstream commit 9cfca93—except the CI stuff—to support LLVM 14.

Fixes RHBZ#2084318.

Thank you for the fix. Merging.

Pull-Request has been merged by luya

2 years ago