Commit Graph

30 Commits

Author SHA256 Message Date
22b001524b Accepting request 1139144 from home:darix:branches:graphics
- update to 1.12.14.0:
  - Correctly document that our Cuda minimum is 9.0. #1737
  - Fixes to build and test against OpenImageIO 2.5 #1742
  - Fix default fmt logic changing in latest openimageio release
    #1725

OBS-URL: https://build.opensuse.org/request/show/1139144
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=58
2024-01-16 12:49:01 +00:00
5ffb47f36e Accepting request 1108806 from home:dirkmueller:Factory
- update to 1.12.13.0:
  * Fix constant float values being converted to ints
  * Changes to support fmt 10.0
  * Switch deprecated oiio simd names to modern
  * Improve documentation of `trace` function
  * README.md: added filmography and Siggraph OSL course
    info.
  * *docs* Amend the filmography
  * *docs* Fix incorrect links in CONTRIBUTING
- update to 1.12.12.0:
  * New ShadingSystem getattribute query for shader groups:
    "attribute_types" retrieves a pointer to the array of
    TypeDesc values describing the * attributes retrieved by
    existing "attributes_needed" and
    "attribute_scopes".
  * Fix a bug with binding userdata when it's used by more than
    one shader within the group and they disagree about whether
    derivatives are needed when retrieving the attribute.

OBS-URL: https://build.opensuse.org/request/show/1108806
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=56
2023-09-12 16:00:09 +00:00
ada45e2bd9 Accepting request 1090380 from home:frispete:blender
- plugin-osl search path is in %{_libdir} now

OBS-URL: https://build.opensuse.org/request/show/1090380
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=54
2023-06-02 17:33:43 +00:00
3e5195579c 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
2023-04-27 06:51:56 +00:00
0442582e4d Accepting request 1065957 from home:dirkmueller:Factory
- update to 1.12.9.0:
  * Remove unnecessary setting of locale::global. #1630
  * Batch shading: Fix bug with masked wide glosure generation.
  * Make sure ReParameter() has the same relaxed type checking
    rules as Parameter(). Before, it was stricter about type
    conversion.

OBS-URL: https://build.opensuse.org/request/show/1065957
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=50
2023-02-15 14:20:41 +00:00
ebc718e92d Accepting request 1058601 from home:dirkmueller:Factory
- update to 1.12.8.0:
  * Remove dependency on OptiX SDK for building core OSL with OptiX support.
    You can now build OSL with OptiX support enabled even if you don't have the
    OptiX SDK headers present at build time. But you will still need them to
    build your OptiX-based application that uses OSL for GPU rendering.
  * Batch mode: fix issue with closure keyword parameters.
  * Batch mode: fix crash when adding a default initialized closure.
  * Batch mode: Fix support for closures with array types.
  * testshade: better testing of all closure parameter types.
  * Fix various CI breaks as dependencies shifted.

OBS-URL: https://build.opensuse.org/request/show/1058601
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=48
2023-01-16 08:19:46 +00:00
4f2504bd2d Accepting request 1042034 from home:dirkmueller:Factory
- update to 1.12.7.1:
  * Add clangSupport library as dependency to fix linker error on some
  platforms. #1613
  * Test against OpenColorIO 2.2. #1616
  * Build: Fix how version overrides work to reduce the chance of user
    mistakes.

OBS-URL: https://build.opensuse.org/request/show/1042034
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=46
2022-12-11 10:02:41 +00:00
2bcb2baf8b Accepting request 1033834 from home:frispete:blender
Adressing Stefan's comments

- update to 1.12.7.0 -- 1 Nov 2022:
  * Optix: Change naming of certain compiler-generated constants in
    a way that improves use of the PTX cache. #1570
  * Batch: Fix uninitialized members in ReadEvent internals. #1575
  * testshade --help now prints TextureSystem options and hardware
    info. #1584
  * oslc: Fix memory leak in ASTvariable_declaration. #1576
  * Fix memory leaks in light path expression code. #1593 #1594
  * Include the immintrin.h header only when needed. #1605
  * icx: Improvements to fix problems exposed by new icx 2022.2
    compiler. #1601
  * Testing: CMake cache variables to control the testing timeout
    length. #1571
  * CI: Add a dynamic analysis test using address and leak
    sanitizers. #1581
  * CI: Now using SonarCloud static analysis. #1551
  * CI: Many improvements in testing code coverage #1607
  * CI: Make sure to run pointcloud tests when partio is found.
    #1611
  * Developers: platform.h now defines OSL_ALLOCA macro. #1589
  * Developers: platform.h now defines OSL::bitcast utility. #1610
- Remove 1605.patch: included in release

OBS-URL: https://build.opensuse.org/request/show/1033834
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=44
2022-11-11 16:27:29 +00:00
9c17873589 Accepting request 1030874 from home:Guillaume_G:branches:graphics
- Add upstream patch to fix build on Arm:
  * 1605.patch

OBS-URL: https://build.opensuse.org/request/show/1030874
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=42
2022-10-25 09:46:54 +00:00
6cb2a653b8 Accepting request 1030072 from home:StefanBruens:branches:graphics
- update to 1.12.6.2:
  For details see
  https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/releases/tag/v1.12.6.2
  * Batch shading: A fully operational "batch shading" support when
    using CPUs supporting the Intel AVX2 or AVX512 instruction set
    architectures, allows shading 8 or 16 points at a time,
    accelerated by using SIMD instructions. (Changes contributed
    by Intel.)
  * OptiX: A reasonable subset of the OSL language can run on
    NVIDIA GPUs for Cuda or OptiX-based renderers.
  * Standardized material closures: Synchronize with MaterialX on
    a minimum standard set of material closures. This is reflected
    in both the OSL spec as well as reference implementations of
    those closures in testrender.
- Remove subpackage with MaterialX shaders. These were already
  deprecated for some time, instead ones from upstream
  MaterialX project should be used.
- Drop upstream 0001-Fix-compatibility-with-LLVM-14.patch

OBS-URL: https://build.opensuse.org/request/show/1030072
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=39
2022-10-20 08:17:41 +00:00
0e2cca07d8 Accepting request 1001036 from home:StefanBruens:branches:graphics
- Fix compatibility with LLVM >= 14.0, add
  0001-Fix-compatibility-with-LLVM-14.patch

OBS-URL: https://build.opensuse.org/request/show/1001036
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=37
2022-09-04 14:10:14 +00:00
64c01d88f2 Accepting request 972393 from home:frispete:blender
- Fix build by requiring llvm and clang 12 versions

OBS-URL: https://build.opensuse.org/request/show/972393
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=33
2022-04-24 17:28:11 +00:00
ed92b7bc81 Accepting request 968219 from home:dirkmueller:Factory
- update to 1.11.17.0:
  * Fix in runtime optimizer where tracking of messages and unknown messages
    relied on uninitialized variables. 
  * Minor changes related to OpenColorIO changing their master branch name to
    "main". #1431
  * Testing: Get texture3d tests operational again. #1437
  * Docs: Fix missing "errormessage" explanation for environment() and
    texture3d().
  * Build/cmake fixes: Make PROJECT_VERSION_RELEASE_TYPE and
    OSL_SUPPORTED_RELEASE be cache strings, so they can be overridden; change
    OSL_IS_SUBPROJECT to PROJECT_IS_TOP_LEVEL (and change its sense) to match
    CMake 21+ behavior; add a TIME_COMMANDS option to help debug performance of
    the build. #1443 
- drop 8682211d0bfe5c4be63a4a003d06037ff9721e66.diff, 1420.diff (upstream)

OBS-URL: https://build.opensuse.org/request/show/968219
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=31
2022-04-10 12:50:49 +00:00
52bb693092 Accepting request 967694 from home:Guillaume_G:branches:graphics
- Disable partio on armv6/armv7 since it fails to build

OBS-URL: https://build.opensuse.org/request/show/967694
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=29
2022-04-08 08:24:14 +00:00
3ade3e24fe Accepting request 942082 from home:frispete:blender
- Disable %ix86 because of build failures

OBS-URL: https://build.opensuse.org/request/show/942082
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=28
2021-12-22 09:34:11 +00:00
ec3c2d5399 Accepting request 925960 from home:frispete:blender
- Update to version 1.11.15.0
  + Changes for compatibility with OpenImageIO 2.3. #1393 #1388
  + Fix potential crashes (or at least undefined behavior) due to
    missing
  + virtual destructor of internal Symbol type. #1397
- Apply 8682211d0bfe5c4be63a4a003d06037ff9721e66.diff and 1420.diff
  in order to build with LLVM 13.
- Add partio library dependency

OBS-URL: https://build.opensuse.org/request/show/925960
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=27
2021-10-18 15:00:39 +00:00
43dd4dc29b Accepting request 915285 from home:frispete:blender
- Fix source URL

OBS-URL: https://build.opensuse.org/request/show/915285
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=26
2021-08-31 14:40:30 +00:00
56eccc19da Accepting request 915143 from home:frispete:blender
- Update to version 1.11.14.2
  + Fix warnings that occur when compiling with clang and C++17 mode. #1379
  + CI/testing: Additional CI tests for clang+c++17 (#1379), gcc11 (#1381),
    llvm 12 (#1381), speed up CI builds by not building the testing components
    of OIIO (#1380).
- Update to version 1.11.14.1
  + Fix library setup for LLVM installations consisting of static libraries.
    This fixes a build problem that can crop up on MacOS using
    Homebrew-installed LLVM 12. #1375
- Update to version 1.11.14.0
  + oslc/OSLCompiler: Check for errors when when writing oso (for example,
    disk volume full). #1360
  + Fix crash generating closure function calls with LLVM 11. #1361
  + Build: LLVM 12 compatibility. #1351
  + Build: Support for CMake 3.20 #1354
  + Build: Be robust to certain OpenEXR 2.x config fies. #1356
  + Build: Fixes to deal with newer OIIO builds that are C++14.
- Remove 0001-LLVM-12-compatibility-fixes.patch
  fixed upstream
- Add build dependency on OpenImageIO (executables)

OBS-URL: https://build.opensuse.org/request/show/915143
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=25
2021-08-31 14:25:33 +00:00
219e07ec9f Accepting request 889801 from home:munix9:branches:graphics
- Update to version 1.11.13
  + Updated vector2.h with a mod(vector2,vector2) function. #1312
  + Fix unnecesary error messages to stderr when encountering
    broken point clouds. #1333
- Add 0001-LLVM-12-compatibility-fixes.patch

OBS-URL: https://build.opensuse.org/request/show/889801
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=23
2021-05-02 11:27:21 +00:00
7900b14875 Accepting request 883703 from home:dirkmueller:Factory
- do not list pkgconfig directory - provided by filesystem package

OBS-URL: https://build.opensuse.org/request/show/883703
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=21
2021-04-08 06:57:12 +00:00
c526fd8e52 Accepting request 880777 from home:frispete:blender
- Update to version 1.11.12
  + Build: Changes for smooth compile against upcoming Imath 3.0.
    #1332 #1341
  + Build: We weren't properly hiding non-public symbols. #1337
  + CI: Cleanup and get rid of the last Travis vestiges. #1334
  + CI: Speed up CI runs by using GHA cache + ccache. #1335
  + CI: Separate CI process into several individual "steps." #1338
- Update to version 1.11.11
  + Build: Make the CMake build system more friendly to being a
    subproject.
  + #1304
  + Build: Improve dependency on Imath/OpenEXR include files.
  + CI: Fixes to Mac CI. #1315
  + Docs: Update CLAs, Charter, GOVERNANCE, particularly after
    acceptance of
  + new CLAs and moving the repo to the ASWF GitHub account. #1308
    #1240 #1314
  + Internals: Switch from deprecated call to OIIO::parallel_image
    to the new
  + version. #1317
- Update to version 1.11.10
  + Bug fix: optimizer interaction with output param that also is
    userdata.
  + #1295
  + Ensure that LoadMemoryCompiledShader returns false upon parse
    failure.
  + #1302
  + Work to ensure that OIIO will build correctly against the
    upcoming
  + Imath 3.0 and OpenEXR 3.0. #1299

OBS-URL: https://build.opensuse.org/request/show/880777
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=18
2021-03-24 19:31:37 +00:00
7552af01e0 Accepting request 846842 from home:frispete:blender
- Update to v1.11.9.0, see included CHANGES.md or
  https://github.com/imageworks/OpenShadingLanguage/blob/Release-1.11.9.0/CHANGES.md
- Add new build dependency python3-pybind11
- Remove stray python3 oslquery module
- Add loplevel markdown documents to doc package

- disable RPATH handling - fixes 15.1 build

OBS-URL: https://build.opensuse.org/request/show/846842
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=16
2020-11-11 12:22:54 +00:00
143a40a083 Accepting request 818883 from home:StefanBruens:branches:graphics
- Update to v1.11.6.0, see included CHANGES.md or
  https://github.com/imageworks/OpenShadingLanguage/blob/Release-1.11.6.0-dev/CHANGES.md
- Drop obsolete patches:
  + 0001-Fix-typo-in-the-.pc.in-files-that-botched-the-versio.patch
  + 0001-LLVM-10-odds-and-ends-1135.patch
  + 0001-Some-SPI-build-fixes-for-finding-the-right-llvm.patch
  + 0001-Use-single-shared-clang-cpp-library-starting-with-LL.patch
- Renamed legalcode.txt to CC-BY-3.0.txt

OBS-URL: https://build.opensuse.org/request/show/818883
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=14
2020-07-06 08:04:16 +00:00
Stefan Brüns
9b69c3bc12 Accepting request 805561 from home:frispete:blender
OBS-URL: https://build.opensuse.org/request/show/805561
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=12
2020-05-17 13:18:08 +00:00
1c4af470c7 Accepting request 796879 from home:plater:blender
- Update to v1.11.4.1 to fix build with LLVM10.
- Remove incorporated patch:
  0001-Generalize-lookup-of-stdosl.h-in-install-directory-a.patch
Added patches from git:
  0001-Some-SPI-build-fixes-for-finding-the-right-llvm.patch and
  0001-LLVM-10-odds-and-ends-1135.patch.
- Created osl-pkgconfig-versions.patch to fix pc file's version
  fields. Upstreamed along with workaround for new libclang-cpp in issue #1155
Created osl-oslimageio-soname.patch to keep the library build in  line with v1.x.

OBS-URL: https://build.opensuse.org/request/show/796879
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=11
2020-04-24 08:17:39 +00:00
Stefan Brüns
1d8ebb2e7a Accepting request 746037 from home:StefanBruens:branches:graphics
- Properly rebase 0001-Generalize-lookup-of-stdosl.h-in-install-directory-a.patch
  avoid workarounds in the spec file.
- Remove conditional code for Leap 42.x
- Reflect required versions of OpenIIO and Clang in the spec file.

OBS-URL: https://build.opensuse.org/request/show/746037
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=9
2019-11-06 16:00:11 +00:00
2bc984d153 Accepting request 745978 from home:plater:blender
- Update to release 1.10.7 which fixes build with new llvm.

OBS-URL: https://build.opensuse.org/request/show/745978
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=8
2019-11-06 12:12:25 +00:00
Stefan Brüns
2c5b4157f8 Accepting request 671214 from home:StefanBruens:branches:graphics
- Fix lookup of stdosl.h from oslc (bnc#1123254):
  Dropped OpenShadingLanguage-shaderinstalldir.patch
  Added 0001-Generalize-lookup-of-stdosl.h-in-install-directory-a.patch
- Cleaned up spec file (defattr)
- Correct LLVM_MCJIT_LIBRARY value, add comment
- Use current LLVM for building (bnc#1123252)
- Split shaders in common-headers, MaterialX-shaders and example-shaders
  subpackages. stdosl.h in common-headers is required by oslc in
  the main package (bnc#1123254).
- Correct clang-devel package name for Leap 42.3

OBS-URL: https://build.opensuse.org/request/show/671214
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=6
2019-02-04 19:38:51 +00:00
62dcb7b756 Accepting request 663763 from home:jengelh:branches:graphics
- Spruce up descriptions a bit.

OBS-URL: https://build.opensuse.org/request/show/663763
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=2
2019-01-09 06:51:51 +00:00
27c573a900 Accepting request 663570 from home:plater:blender
New package for blender cycles with OSL see:
boo#1120406

OBS-URL: https://build.opensuse.org/request/show/663570
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage?expand=0&rev=1
2019-01-08 10:53:09 +00:00