mirtk: enable tbb support for multithreading

This commit is contained in:
Linus Heckemann 2019-12-30 00:51:10 +01:00
parent b0bbacb521
commit 2c19725202

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";