Merge pull request #225645 from panicgh/osl

This commit is contained in:
Sandro 2023-04-24 00:37:48 +02:00 committed by GitHub
commit d9ad436f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,13 +23,13 @@ let
in stdenv.mkDerivation rec {
pname = "openshadinglanguage";
version = "1.11.17.0";
version = "1.12.11.0";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "OpenShadingLanguage";
rev = "v${version}";
sha256 = "sha256-2OOkLnHLz+vmSeEDQl12SrJBTuWwbnvoTatnvm8lpbA=";
hash = "sha256-kN0+dWOUPXK8+xtR7onuPNimdn8WcaKcSRkOnaoi7BQ=";
};
cmakeFlags = [
@ -41,6 +41,7 @@ in stdenv.mkDerivation rec {
# Override defaults.
"-DLLVM_DIRECTORY=${llvm}"
"-DLLVM_CONFIG=${llvm.dev}/bin/llvm-config"
"-DLLVM_BC_GENERATOR=${clang}/bin/clang++"
# Set C++11 to C++14 required for LLVM10+
"-DCMAKE_CXX_STANDARD=14"