mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #76672 from lheckemann/mirtk-tbb
mirtk: enable tbb support for multithreading
This commit is contained in:
commit
99a6326791
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user