Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735750 - media-libs/osl needs porting to LLVM 10
Summary: media-libs/osl needs porting to LLVM 10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adrian
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: llvm-10
  Show dependency tree
 
Reported: 2020-08-03 11:24 UTC by Michał Górny
Modified: 2020-12-01 11:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-03 11:24:12 UTC
Currently declaring support for at most LLVM 9.
Comment 1 Peter Karlsson 2020-08-30 23:57:10 UTC
Acc. to https://github.com/imageworks/OpenShadingLanguage/blob/master/INSTALL.md the master should support LLVM 10. Although it also requires OpenImageIO-2+.
Comment 2 cyrillic 2020-09-10 01:59:52 UTC
media-libs/osl-1.10.13 is able to compile with llvm/clang 10 as long as you add -DCMAKE_CXX_STANDARD=14 to mycmakeargs.
Comment 3 Peter Karlsson 2020-09-22 17:24:47 UTC
(In reply to cyrillic from comment #2)
> media-libs/osl-1.10.13 is able to compile with llvm/clang 10 as long as you
> add -DCMAKE_CXX_STANDARD=14 to mycmakeargs.

Actually, using the above mentioned mycmakeargs option (C++14) makes the current version (1.10.10) compile fine...
According to https://github.com/imageworks/OpenShadingLanguage/blob/RB-1.11/INSTALL.md it says that*:
"OSL should compile also properly with C++14 or C++17, but they are not required (unless you are using LLVM >= 10, in which case at least C++14 is needed)."

* For version 1.10.11 but I think it also applies to 1.10.10 since it compiles fine - for me...
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-23 04:00:09 UTC
ping
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-16 21:29:04 UTC
(In reply to Sam James from comment #4)
> ping

ping?
Comment 6 mehw 2020-11-19 00:48:26 UTC
There are some efforts on bug#751580 (media-libs/osl-1.10.13) and on bug#747475 (media-libs/osl-1.11.8.0 and media-libs/osl-1.11.9.0).
Comment 7 Larry the Git Cow gentoo-dev 2020-12-01 11:24:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beb901a124bd4b8b9c85e074ef3f607c81004c55

commit beb901a124bd4b8b9c85e074ef3f607c81004c55
Author:     Adrian Grigo <agrigo2001@yahoo.com.au>
AuthorDate: 2020-11-26 23:09:30 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-12-01 11:22:04 +0000

    media-libs/osl: Version bump to 1.10.13
    
    This version works with openimageio 2 (fixes build failure of 1.10.10)
    
    Add support for LLVM 10, which requires C++14
    
    Enable shared libraries
    Add github page as second homepage
    
    Added subslot operator otherwise upgrading to 1.11 will leave behind
    preserved libraries (blender is the only current client in the tree)
    
    Thanks to Mehw, Cyrillic, Peter Karlsson, Reggie, Luke A Guest, and
    Joonas Niilola for their contributions to the bugs mentioned below
    which forms the bulk of this update.
    
    Signed-off-by: Adrian Grigo <agrigo2001@yahoo.com.au>
    Closes: https://bugs.gentoo.org/735750
    Closes: https://bugs.gentoo.org/751580
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-libs/osl/Manifest           |  1 +
 media-libs/osl/osl-1.10.13.ebuild | 87 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)