Loading pkgs/by-name/on/onetbb/package.nix +11 −0 Original line number Diff line number Diff line Loading @@ -4,7 +4,9 @@ fetchFromGitHub, fetchpatch, cmake, hwloc, ninja, pkg-config, ctestCheckHook, }: Loading Loading @@ -55,6 +57,11 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja ctestCheckHook pkg-config ]; buildInputs = [ hwloc ]; doCheck = true; Loading @@ -74,6 +81,10 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail 'tbb_add_test(SUBDIR conformance NAME conformance_resumable_tasks DEPENDENCIES TBB::tbb)' "" ''; cmakeFlags = [ (lib.cmakeBool "TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH" false) ]; env = { # Fix build with modern gcc # In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]', Loading Loading
pkgs/by-name/on/onetbb/package.nix +11 −0 Original line number Diff line number Diff line Loading @@ -4,7 +4,9 @@ fetchFromGitHub, fetchpatch, cmake, hwloc, ninja, pkg-config, ctestCheckHook, }: Loading Loading @@ -55,6 +57,11 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja ctestCheckHook pkg-config ]; buildInputs = [ hwloc ]; doCheck = true; Loading @@ -74,6 +81,10 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail 'tbb_add_test(SUBDIR conformance NAME conformance_resumable_tasks DEPENDENCIES TBB::tbb)' "" ''; cmakeFlags = [ (lib.cmakeBool "TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH" false) ]; env = { # Fix build with modern gcc # In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]', Loading