Merge pull request #76672 from lheckemann/mirtk-tbb

mirtk: enable tbb support for multithreading
This commit is contained in:
Linus Heckemann 2020-01-01 20:44:44 +01:00 committed by GitHub
commit 99a6326791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, gtest, fetchFromGitHub, cmake, boost, eigen, python, vtk, zlib }:
{ stdenv, gtest, fetchFromGitHub, cmake, boost, eigen, python, vtk, zlib, tbb }:
stdenv.mkDerivation rec {
version = "2.0.0";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
cmakeFlags = "-DWITH_VTK=ON -DBUILD_ALL_MODULES=ON";
cmakeFlags = "-DWITH_VTK=ON -DBUILD_ALL_MODULES=ON -DWITH_TBB=ON";
doCheck = true;
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ cmake gtest ];
buildInputs = [ boost eigen python vtk zlib ];
buildInputs = [ boost eigen python vtk zlib tbb ];
meta = with stdenv.lib; {
homepage = "https://github.com/BioMedIA/MIRTK";