-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98215 from gebner/blender290
blender: 2.83.5 -> 2.90.0
- Loading branch information
Showing
3 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, ispc, tbb, glfw, | ||
openimageio, libjpeg, libpng, libpthreadstubs, libX11 }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "embree"; | ||
version = "3.11.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "embree"; | ||
repo = "embree"; | ||
rev = "v${version}"; | ||
sha256 = "0v5gqi8jp09xxcbyyknji83412bq4l0w35b6hnrqxycgdrnf7hkr"; | ||
}; | ||
|
||
postPatch = '' | ||
# Fix duplicate /nix/store/.../nix/store/.../ paths | ||
sed -i "s|SET(EMBREE_ROOT_DIR .*)|set(EMBREE_ROOT_DIR $out)|" \ | ||
common/cmake/embree-config.cmake | ||
sed -i "s|$""{EMBREE_ROOT_DIR}/||" common/cmake/embree-config.cmake | ||
''; | ||
|
||
cmakeFlags = [ | ||
"-DEMBREE_TUTORIALS=OFF" | ||
"-DEMBREE_RAY_MASK=ON" | ||
]; | ||
|
||
nativeBuildInputs = [ ispc pkgconfig cmake ]; | ||
buildInputs = [ tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ]; | ||
|
||
meta = with stdenv.lib; { | ||
description = "High performance ray tracing kernels from Intel"; | ||
homepage = "https://embree.github.io/"; | ||
maintainers = with maintainers; [ hodapp gebner ]; | ||
license = licenses.asl20; | ||
platforms = platforms.unix; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters