Am 18.04.20 um 19:59 schrieb Hans-Peter Jansen:
Factory fails to compile OSL 1.10.7 due to some LLVM issues on the surface: https://build.opensuse.org/package/show/graphics/OpenShadingLanguage
Ok, I can talk about some of the errors: error: 'std::index_sequence' has not been declared This one is due to -std=c++11, LLVM requires -std=c++14 now. See also https://en.cppreference.com/w/cpp/utility/integer_sequence. This should also be the reason for the other errors coming from LLVM headers. But it seems a patch in your branch addresses that already: https://build.opensuse.org/package/view_file/home:frispete:blender/OpenShadi...
Interestingly, no combination of LLVM 10, 9, 8 nor gcc7 does work, but the build is failing due to various issues (up to some unsupported -flto=auto arguments). The -flto=auto won't work with older GCC versions. But I'd recommend to go with the default version anyway. Could you elaborate a bit more what doesn't work, because the Tumbleweed build in your branch looks successful to me.
By the way, to fix the Leap builds in your branch try wrapping the lines adding -lclang-cpp into "%if %{pkg_vcmp llvm-devel >= 9.0}". That's when the Clang build switched from component libraries to one big library for everything. Best regards, Aaron -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org