tbb_{2022,2021,2020}: 2022.0.0 -> 2022.1.0; 2021.11.0 -> 2021.13.0; 2020.3 -> 2020.3.3; shorten name; move to by-name; disable manifold failing test for openscad-unstable (#402480)

authored by 7c6f434c and committed by GitHub 64edfe9a 6773143d

+100 -131
+3 -3
pkgs/applications/misc/prusa-slicer/default.nix
··· 27 opencascade-occt_7_6_1, 28 openvdb, 29 qhull, 30 - tbb_2021_11, 31 wxGTK32, 32 xorg, 33 libbgcode, ··· 54 hash = "sha256-WNdAYu66ggpSYJ8Kt57yEA4mSTv+Rvzj9Rm1q765HpY="; 55 }; 56 }); 57 - openvdb_tbb_2021_8 = openvdb.override { tbb = tbb_2021_11; }; 58 wxGTK-override' = if wxGTK-override == null then wxGTK32 else wxGTK-override; 59 opencascade-override' = 60 if opencascade-override == null then opencascade-occt_7_6_1 else opencascade-override; ··· 125 opencascade-override' 126 openvdb_tbb_2021_8 127 qhull 128 - tbb_2021_11 129 wxGTK-override' 130 xorg.libX11 131 libbgcode
··· 27 opencascade-occt_7_6_1, 28 openvdb, 29 qhull, 30 + tbb_2021, 31 wxGTK32, 32 xorg, 33 libbgcode, ··· 54 hash = "sha256-WNdAYu66ggpSYJ8Kt57yEA4mSTv+Rvzj9Rm1q765HpY="; 55 }; 56 }); 57 + openvdb_tbb_2021_8 = openvdb.override { tbb = tbb_2021; }; 58 wxGTK-override' = if wxGTK-override == null then wxGTK32 else wxGTK-override; 59 opencascade-override' = 60 if opencascade-override == null then opencascade-occt_7_6_1 else opencascade-override; ··· 125 opencascade-override' 126 openvdb_tbb_2021_8 127 qhull 128 + tbb_2021 129 wxGTK-override' 130 xorg.libX11 131 libbgcode
+2 -2
pkgs/by-name/au/autotier/package.nix
··· 8 boost, 9 fuse3, 10 lib45d, 11 - tbb_2021_11, 12 liburing, 13 installShellFiles, 14 }: ··· 46 boost 47 fuse3 48 lib45d 49 - tbb_2021_11 50 liburing 51 ]; 52
··· 8 boost, 9 fuse3, 10 lib45d, 11 + tbb_2021, 12 liburing, 13 installShellFiles, 14 }: ··· 46 boost 47 fuse3 48 lib45d 49 + tbb_2021 50 liburing 51 ]; 52
+2 -2
pkgs/by-name/ba/bambu-studio/package.nix
··· 34 opencv, 35 pcre, 36 systemd, 37 - tbb_2021_11, 38 webkitgtk_4_0, 39 wxGTK31, 40 xorg, ··· 102 opencascade-occt_7_6 103 openvdb 104 pcre 105 - tbb_2021_11 106 webkitgtk_4_0 107 wxGTK' 108 xorg.libX11
··· 34 opencv, 35 pcre, 36 systemd, 37 + tbb_2021, 38 webkitgtk_4_0, 39 wxGTK31, 40 xorg, ··· 102 opencascade-occt_7_6 103 openvdb 104 pcre 105 + tbb_2021 106 webkitgtk_4_0 107 wxGTK' 108 xorg.libX11
+2 -2
pkgs/by-name/ca/cabinpkg/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - tbb_2021_11, 6 libgit2, 7 curl, 8 fmt, ··· 39 buildInputs = [ 40 libgit2 41 fmt 42 - tbb_2021_11 43 nlohmann_json 44 curl 45 ];
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + tbb_2021, 6 libgit2, 7 curl, 8 fmt, ··· 39 buildInputs = [ 40 libgit2 41 fmt 42 + tbb_2021 43 nlohmann_json 44 curl 45 ];
+2 -2
pkgs/by-name/ka/kaminpar/package.nix
··· 7 numactl, 8 mpi, 9 sparsehash, 10 - tbb_2022_0, 11 gtest, 12 mpiCheckPhaseHook, 13 }: ··· 56 propagatedBuildInputs = [ 57 mpi 58 sparsehash 59 - tbb_2022_0 60 ]; 61 62 cmakeFlags = [
··· 7 numactl, 8 mpi, 9 sparsehash, 10 + tbb_2022, 11 gtest, 12 mpiCheckPhaseHook, 13 }: ··· 56 propagatedBuildInputs = [ 57 mpi 58 sparsehash 59 + tbb_2022 60 ]; 61 62 cmakeFlags = [
+2 -2
pkgs/by-name/li/libblake3/package.nix
··· 4 cmake, 5 fetchFromGitHub, 6 fetchpatch, 7 - tbb_2021_11, 8 9 useTBB ? true, 10 }: ··· 41 42 propagatedBuildInputs = lib.optionals useTBB [ 43 # 2022.0 crashes on macOS at the moment 44 - tbb_2021_11 45 ]; 46 47 cmakeFlags = [
··· 4 cmake, 5 fetchFromGitHub, 6 fetchpatch, 7 + tbb_2021, 8 9 useTBB ? true, 10 }: ··· 41 42 propagatedBuildInputs = lib.optionals useTBB [ 43 # 2022.0 crashes on macOS at the moment 44 + tbb_2021 45 ]; 46 47 cmakeFlags = [
+2 -2
pkgs/by-name/li/libloot/package.nix
··· 18 gtest, 19 icu, 20 spdlog, 21 - tbb_2021_11, 22 yaml-cpp, 23 }: 24 ··· 70 gtest 71 icu 72 (spdlog.override { fmt = fmt_11; }) 73 - tbb_2021_11 74 75 finalAttrs.passthru.yaml-cpp # has merge-key support 76 finalAttrs.passthru.libloadorder
··· 18 gtest, 19 icu, 20 spdlog, 21 + tbb_2021, 22 yaml-cpp, 23 }: 24 ··· 70 gtest 71 icu 72 (spdlog.override { fmt = fmt_11; }) 73 + tbb_2021 74 75 finalAttrs.passthru.yaml-cpp # has merge-key support 76 finalAttrs.passthru.libloadorder
+3 -3
pkgs/by-name/ma/manifold/package.nix
··· 6 clipper2, 7 gtest, 8 glm, 9 - tbb_2021_11, 10 }: 11 12 stdenv.mkDerivation (finalAttrs: { ··· 25 buildInputs = [ 26 gtest 27 glm 28 - tbb_2021_11 29 clipper2 30 ]; 31 ··· 38 39 doCheck = true; 40 checkPhase = '' 41 - test/manifold_test 42 ''; 43 44 meta = {
··· 6 clipper2, 7 gtest, 8 glm, 9 + tbb_2021, 10 }: 11 12 stdenv.mkDerivation (finalAttrs: { ··· 25 buildInputs = [ 26 gtest 27 glm 28 + tbb_2021 29 clipper2 30 ]; 31 ··· 38 39 doCheck = true; 40 checkPhase = '' 41 + test/manifold_test --gtest_filter=-CrossSection.RoundOffset 42 ''; 43 44 meta = {
+2 -2
pkgs/by-name/mo/mold/package.nix
··· 7 cmake, 8 mimalloc, 9 ninja, 10 - tbb_2022_0, 11 zlib, 12 zstd, 13 ··· 42 43 buildInputs = 44 [ 45 - tbb_2022_0 46 zlib 47 zstd 48 ]
··· 7 cmake, 8 mimalloc, 9 ninja, 10 + tbb_2022, 11 zlib, 12 zstd, 13 ··· 42 43 buildInputs = 44 [ 45 + tbb_2022 46 zlib 47 zstd 48 ]
+2 -2
pkgs/by-name/na/naja/package.nix
··· 10 flex, 11 pkg-config, 12 python3, 13 - tbb_2021_11, 14 buildPackages, 15 nix-update-script, 16 }: ··· 63 boost 64 capnproto # cmake modules 65 flex # include dir 66 - tbb_2021_11 67 python3 68 ]; 69
··· 10 flex, 11 pkg-config, 12 python3, 13 + tbb_2021, 14 buildPackages, 15 nix-update-script, 16 }: ··· 63 boost 64 capnproto # cmake modules 65 flex # include dir 66 + tbb_2021 67 python3 68 ]; 69
+2 -2
pkgs/by-name/op/openscad-unstable/package.nix
··· 34 mesa, 35 mpfr, 36 python3, 37 - tbb_2022_0, 38 wayland, 39 wayland-protocols, 40 wrapGAppsHook3, ··· 79 [ 80 clipper2 81 glm 82 - tbb_2022_0 83 mimalloc 84 boost 85 cairo
··· 34 mesa, 35 mpfr, 36 python3, 37 + tbb_2022, 38 wayland, 39 wayland-protocols, 40 wrapGAppsHook3, ··· 79 [ 80 clipper2 81 glm 82 + tbb_2022 83 mimalloc 84 boost 85 cairo
+2 -2
pkgs/by-name/op/openvino/package.nix
··· 28 protobuf, 29 pugixml, 30 snappy, 31 - tbb_2022_0, 32 cudaPackages, 33 }: 34 ··· 158 opencv 159 pugixml 160 snappy 161 - tbb_2022_0 162 ] 163 ++ lib.optionals cudaSupport [ 164 cudaPackages.cuda_cudart
··· 28 protobuf, 29 pugixml, 30 snappy, 31 + tbb_2022, 32 cudaPackages, 33 }: 34 ··· 158 opencv 159 pugixml 160 snappy 161 + tbb_2022 162 ] 163 ++ lib.optionals cudaSupport [ 164 cudaPackages.cuda_cudart
+2 -2
pkgs/by-name/or/orca-slicer/package.nix
··· 34 opencv, 35 pcre, 36 systemd, 37 - tbb_2021_11, 38 webkitgtk_4_0, 39 wxGTK31, 40 xorg, ··· 112 opencascade-occt_7_6 113 openvdb 114 pcre 115 - tbb_2021_11 116 webkitgtk_4_0 117 wxGTK' 118 xorg.libX11
··· 34 opencv, 35 pcre, 36 systemd, 37 + tbb_2021, 38 webkitgtk_4_0, 39 wxGTK31, 40 xorg, ··· 112 opencascade-occt_7_6 113 openvdb 114 pcre 115 + tbb_2021 116 webkitgtk_4_0 117 wxGTK' 118 xorg.libX11
+2 -2
pkgs/by-name/os/osrm-backend/package.nix
··· 10 boost, 11 lua, 12 luabind, 13 - tbb_2022_0, 14 expat, 15 nixosTests, 16 }: 17 18 let 19 - tbb = tbb_2022_0; 20 in 21 stdenv.mkDerivation rec { 22 pname = "osrm-backend";
··· 10 boost, 11 lua, 12 luabind, 13 + tbb_2022, 14 expat, 15 nixosTests, 16 }: 17 18 let 19 + tbb = tbb_2022; 20 in 21 stdenv.mkDerivation rec { 22 pname = "osrm-backend";
+3 -3
pkgs/by-name/pa/papilo/package.nix
··· 4 fetchFromGitHub, 5 cmake, 6 boost, 7 - tbb_2022_0, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { ··· 39 buildInputs = [ 40 boost 41 cmake 42 - tbb_2022_0 43 ]; 44 45 - propagatedBuildInputs = [ tbb_2022_0 ]; 46 47 strictDeps = true; 48
··· 4 fetchFromGitHub, 5 cmake, 6 boost, 7 + tbb_2022, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { ··· 39 buildInputs = [ 40 boost 41 cmake 42 + tbb_2022 43 ]; 44 45 + propagatedBuildInputs = [ tbb_2022 ]; 46 47 strictDeps = true; 48
+2 -2
pkgs/by-name/pd/pdf4qt/package.nix
··· 8 qt6, 9 wrapGAppsHook3, 10 openjpeg, 11 - tbb_2021_11, 12 blend2d, 13 }: 14 ··· 46 qt6.qtspeech 47 lcms 48 openjpeg 49 - tbb_2021_11 50 blend2d 51 ]; 52
··· 8 qt6, 9 wrapGAppsHook3, 10 openjpeg, 11 + tbb_2021, 12 blend2d, 13 }: 14 ··· 46 qt6.qtspeech 47 lcms 48 openjpeg 49 + tbb_2021 50 blend2d 51 ]; 52
+2 -2
pkgs/by-name/sa/salmon/package.nix
··· 13 libiconv, 14 libstaden-read, 15 pkg-config, 16 - tbb_2021_11, 17 xz, 18 zlib, 19 }: ··· 55 jemalloc 56 libgff 57 libstaden-read 58 - tbb_2021_11 59 xz 60 zlib 61 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
··· 13 libiconv, 14 libstaden-read, 15 pkg-config, 16 + tbb_2021, 17 xz, 18 zlib, 19 }: ··· 55 jemalloc 56 libgff 57 libstaden-read 58 + tbb_2021 59 xz 60 zlib 61 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
+2 -2
pkgs/by-name/sc/scipopt-papilo/package.nix
··· 6 boost, 7 blas, 8 gmp, 9 - tbb_2021_11, 10 gfortran, 11 }: 12 ··· 31 gmp 32 gfortran 33 boost 34 - tbb_2021_11 35 ]; 36 37 cmakeFlags = [
··· 6 boost, 7 blas, 8 gmp, 9 + tbb_2021, 10 gfortran, 11 }: 12 ··· 31 gmp 32 gfortran 33 boost 34 + tbb_2021 35 ]; 36 37 cmakeFlags = [
+2 -2
pkgs/by-name/sc/scipopt-scip/package.nix
··· 11 scipopt-papilo, 12 scipopt-zimpl, 13 ipopt, 14 - tbb_2021_11, 15 boost, 16 gfortran, 17 criterion, ··· 39 gmp 40 readline 41 zlib 42 - tbb_2021_11 43 boost 44 gfortran 45 criterion
··· 11 scipopt-papilo, 12 scipopt-zimpl, 13 ipopt, 14 + tbb_2021, 15 boost, 16 gfortran, 17 criterion, ··· 39 gmp 40 readline 41 zlib 42 + tbb_2021 43 boost 44 gfortran 45 criterion
+2 -2
pkgs/by-name/su/supercell-wx/package.nix
··· 24 gtest, 25 glm, 26 qt6, 27 - tbb_2021_11, 28 tracy, 29 replaceVars, 30 python3, ··· 130 aws-sdk-cpp 131 howard-hinnant-date 132 boost 133 - tbb_2021_11 134 glew 135 geos 136 spdlog
··· 24 gtest, 25 glm, 26 qt6, 27 + tbb_2021, 28 tracy, 29 replaceVars, 30 python3, ··· 130 aws-sdk-cpp 131 howard-hinnant-date 132 boost 133 + tbb_2021 134 glew 135 geos 136 spdlog
+2 -2
pkgs/by-name/ti/tiledb/package.nix
··· 8 bzip2, 9 zstd, 10 spdlog, 11 - tbb_2022_0, 12 openssl, 13 boost, 14 libpqxx, ··· 32 cp -r ${rapidcheck.dev}/* $out 33 ''; 34 catch2 = catch2_3; 35 - tbb = tbb_2022_0; 36 in 37 stdenv.mkDerivation rec { 38 pname = "tiledb";
··· 8 bzip2, 9 zstd, 10 spdlog, 11 + tbb_2022, 12 openssl, 13 boost, 14 libpqxx, ··· 32 cp -r ${rapidcheck.dev}/* $out 33 ''; 34 catch2 = catch2_3; 35 + tbb = tbb_2022; 36 in 37 stdenv.mkDerivation rec { 38 pname = "tiledb";
+2 -2
pkgs/by-name/ue/ueberzugpp/package.nix
··· 7 openssl, 8 zeromq, 9 cppzmq, 10 - tbb_2021_11, 11 spdlog, 12 libsodium, 13 fmt, ··· 57 openssl 58 zeromq 59 cppzmq 60 - tbb_2021_11 61 spdlog 62 libsodium 63 fmt
··· 7 openssl, 8 zeromq, 9 cppzmq, 10 + tbb_2021, 11 spdlog, 12 libsodium, 13 fmt, ··· 57 openssl 58 zeromq 59 cppzmq 60 + tbb_2021 61 spdlog 62 libsodium 63 fmt
+4 -4
pkgs/development/libraries/embree/2.x.nix
··· 5 cmake, 6 pkg-config, 7 ispc, 8 - tbb_2020_3, 9 glfw, 10 openimageio_2, 11 libjpeg, ··· 35 ]; 36 buildInputs = [ 37 ispc 38 - # tbb_2021_0 is not backward compatible 39 - tbb_2020_3 40 glfw 41 openimageio_2 42 libjpeg ··· 52 "v(2.*)" 53 ]; 54 }; 55 - tbb = tbb_2020_3; 56 tests = { 57 inherit (python3Packages) embreex; 58 };
··· 5 cmake, 6 pkg-config, 7 ispc, 8 + tbb_2020, 9 glfw, 10 openimageio_2, 11 libjpeg, ··· 35 ]; 36 buildInputs = [ 37 ispc 38 + # tbb_2021 is not backward compatible 39 + tbb_2020 40 glfw 41 openimageio_2 42 libjpeg ··· 52 "v(2.*)" 53 ]; 54 }; 55 + tbb = tbb_2020; 56 tests = { 57 inherit (python3Packages) embreex; 58 };
+25 -35
pkgs/development/libraries/tbb/2020_3.nix pkgs/by-name/tb/tbb_2020/package.nix
··· 7 fixDarwinDylibNames, 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "tbb"; 12 - version = "2020.3"; 13 14 outputs = [ 15 "out" ··· 19 src = fetchFromGitHub { 20 owner = "oneapi-src"; 21 repo = "oneTBB"; 22 - rev = "v${version}"; 23 - sha256 = "prO2O5hd+Wz5iA0vfrqmyHFr0Ptzk64so5KpSpvuKmU="; 24 }; 25 26 patches = [ ··· 34 (fetchpatch { 35 url = "https://github.com/openembedded/meta-openembedded/raw/39185eb1d1615e919e3ae14ae63b8ed7d3e5d83f/meta-oe/recipes-support/tbb/tbb/0001-mallinfo-is-glibc-specific-API-mark-it-so.patch"; 36 hash = "sha256-xp8J/il855VTFIKCN/bFtf+vif6HzcVl4t4/L9nW/xk="; 37 - }) 38 - 39 - # Fixes build with upcoming gcc-13: 40 - # https://github.com/oneapi-src/oneTBB/pull/833 41 - (fetchpatch { 42 - name = "gcc-13.patch"; 43 - url = "https://github.com/oneapi-src/oneTBB/pull/833/commits/c18342ba667d1f33f5e9a773aa86b091a9694b97.patch"; 44 - hash = "sha256-LWgf7Rm6Zp4TJdvMqnAkoAebbVS+WV2kB+4iY6jRka4="; 45 }) 46 47 # Fixes build for aarch64-darwin ··· 91 runHook postInstall 92 ''; 93 94 - postInstall = 95 - let 96 - pcTemplate = fetchurl { 97 - url = "https://github.com/oneapi-src/oneTBB/raw/478de5b1887c928e52f029d706af6ea640a877be/integration/pkg-config/tbb.pc.in"; 98 - sha256 = "2pCad9txSpNbzac0vp/VY3x7HNySaYkbH3Rx8LK53pI="; 99 - }; 100 - in 101 - '' 102 - # Generate pkg-config file based on upstream template. 103 - # It should not be necessary with tbb after 2021.2. 104 - mkdir -p "$out/lib/pkgconfig" 105 - substitute "${pcTemplate}" "$out/lib/pkgconfig/tbb.pc" \ 106 - --subst-var-by CMAKE_INSTALL_PREFIX "$out" \ 107 - --subst-var-by CMAKE_INSTALL_LIBDIR "lib" \ 108 - --subst-var-by CMAKE_INSTALL_INCLUDEDIR "include" \ 109 - --subst-var-by TBB_VERSION "${version}" \ 110 - --subst-var-by TBB_LIB_NAME "tbb" 111 - ''; 112 113 - meta = with lib; { 114 description = "Intel Thread Building Blocks C++ Library"; 115 homepage = "http://threadingbuildingblocks.org/"; 116 - license = licenses.asl20; 117 longDescription = '' 118 Intel Threading Building Blocks offers a rich and complete approach to 119 expressing parallelism in a C++ program. It is a library that helps you ··· 122 represents a higher-level, task-based parallelism that abstracts platform 123 details and threading mechanisms for scalability and performance. 124 ''; 125 - platforms = platforms.unix; 126 - maintainers = with maintainers; [ 127 silvanshade 128 thoughtpolice 129 tmarkus 130 ]; 131 }; 132 - }
··· 7 fixDarwinDylibNames, 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "tbb"; 12 + version = "2020.3.3"; 13 14 outputs = [ 15 "out" ··· 19 src = fetchFromGitHub { 20 owner = "oneapi-src"; 21 repo = "oneTBB"; 22 + tag = "v${finalAttrs.version}"; 23 + hash = "sha256-pCZpQ+t7dDzuS4vhlfSVLwieI0iSQHukXb8Nk5kMMBo="; 24 }; 25 26 patches = [ ··· 34 (fetchpatch { 35 url = "https://github.com/openembedded/meta-openembedded/raw/39185eb1d1615e919e3ae14ae63b8ed7d3e5d83f/meta-oe/recipes-support/tbb/tbb/0001-mallinfo-is-glibc-specific-API-mark-it-so.patch"; 36 hash = "sha256-xp8J/il855VTFIKCN/bFtf+vif6HzcVl4t4/L9nW/xk="; 37 }) 38 39 # Fixes build for aarch64-darwin ··· 83 runHook postInstall 84 ''; 85 86 + pcTemplate = fetchurl { 87 + url = "https://github.com/oneapi-src/oneTBB/raw/478de5b1887c928e52f029d706af6ea640a877be/integration/pkg-config/tbb.pc.in"; 88 + hash = "sha256-2pCad9txSpNbzac0vp/VY3x7HNySaYkbH3Rx8LK53pI="; 89 + }; 90 91 + postInstall = '' 92 + # Generate pkg-config file based on upstream template. 93 + # It should not be necessary with tbb after 2021.2. 94 + mkdir -p "$out/lib/pkgconfig" 95 + substitute "${finalAttrs.pcTemplate}" "$out/lib/pkgconfig/tbb.pc" \ 96 + --subst-var-by CMAKE_INSTALL_PREFIX "$out" \ 97 + --subst-var-by CMAKE_INSTALL_LIBDIR "lib" \ 98 + --subst-var-by CMAKE_INSTALL_INCLUDEDIR "include" \ 99 + --subst-var-by TBB_VERSION "${finalAttrs.version}" \ 100 + --subst-var-by TBB_LIB_NAME "tbb" 101 + ''; 102 + 103 + meta = { 104 description = "Intel Thread Building Blocks C++ Library"; 105 homepage = "http://threadingbuildingblocks.org/"; 106 + license = lib.licenses.asl20; 107 longDescription = '' 108 Intel Threading Building Blocks offers a rich and complete approach to 109 expressing parallelism in a C++ program. It is a library that helps you ··· 112 represents a higher-level, task-based parallelism that abstracts platform 113 details and threading mechanisms for scalability and performance. 114 ''; 115 + platforms = lib.platforms.unix; 116 + maintainers = with lib.maintainers; [ 117 silvanshade 118 thoughtpolice 119 tmarkus 120 ]; 121 }; 122 + })
+9 -9
pkgs/development/libraries/tbb/2022_0.nix pkgs/by-name/tb/tbb_2022/package.nix
··· 7 ninja, 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "tbb"; 12 - version = "2022.0.0"; 13 14 outputs = [ 15 "out" ··· 19 src = fetchFromGitHub { 20 owner = "oneapi-src"; 21 repo = "oneTBB"; 22 - tag = "v${version}"; 23 - hash = "sha256-XOlC1+rf65oEGKDba9N561NuFo1YJhn3Q1CTGtvkn7A="; 24 }; 25 26 nativeBuildInputs = [ ··· 71 72 enableParallelBuilding = true; 73 74 - meta = with lib; { 75 description = "Intel Thread Building Blocks C++ Library"; 76 homepage = "http://threadingbuildingblocks.org/"; 77 - license = licenses.asl20; 78 longDescription = '' 79 Intel Threading Building Blocks offers a rich and complete approach to 80 expressing parallelism in a C++ program. It is a library that helps you ··· 83 represents a higher-level, task-based parallelism that abstracts platform 84 details and threading mechanisms for scalability and performance. 85 ''; 86 - platforms = platforms.unix ++ platforms.windows; 87 - maintainers = with maintainers; [ 88 silvanshade 89 thoughtpolice 90 tmarkus 91 ]; 92 }; 93 - }
··· 7 ninja, 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "tbb"; 12 + version = "2022.1.0"; 13 14 outputs = [ 15 "out" ··· 19 src = fetchFromGitHub { 20 owner = "oneapi-src"; 21 repo = "oneTBB"; 22 + tag = "v${finalAttrs.version}"; 23 + hash = "sha256-DqJkNlC94cPJSXnhyFcEqWYGCQPunMfIfb05UcFGynw="; 24 }; 25 26 nativeBuildInputs = [ ··· 71 72 enableParallelBuilding = true; 73 74 + meta = { 75 description = "Intel Thread Building Blocks C++ Library"; 76 homepage = "http://threadingbuildingblocks.org/"; 77 + license = lib.licenses.asl20; 78 longDescription = '' 79 Intel Threading Building Blocks offers a rich and complete approach to 80 expressing parallelism in a C++ program. It is a library that helps you ··· 83 represents a higher-level, task-based parallelism that abstracts platform 84 details and threading mechanisms for scalability and performance. 85 ''; 86 + platforms = lib.platforms.all; 87 + maintainers = with lib.maintainers; [ 88 silvanshade 89 thoughtpolice 90 tmarkus 91 ]; 92 }; 93 + })
+9 -26
pkgs/development/libraries/tbb/default.nix pkgs/by-name/tb/tbb_2021/package.nix
··· 7 ninja, 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "tbb"; 12 - version = "2021.11.0"; 13 14 outputs = [ 15 "out" ··· 19 src = fetchFromGitHub { 20 owner = "oneapi-src"; 21 repo = "oneTBB"; 22 - rev = "v${version}"; 23 - hash = "sha256-zGZHMtAUVzBKFbCshpepm3ce3tW6wQ+F30kYYXAQ/TE="; 24 }; 25 26 nativeBuildInputs = [ ··· 33 (fetchpatch { 34 url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/899.patch"; 35 hash = "sha256-kU6RRX+sde0NrQMKlNtW3jXav6J4QiVIUmD50asmBPU="; 36 - }) 37 - (fetchpatch { 38 - name = "fix-tbb-mingw-compile.patch"; 39 - url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/1361.patch"; 40 - hash = "sha256-jVa4HQetZv0vImdv549MyTy6/8t9dy8m6YAmjPGNQ18="; 41 - }) 42 - (fetchpatch { 43 - name = "fix-tbb-mingw-link.patch"; 44 - url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/1193.patch"; 45 - hash = "sha256-ZQbwUmuIZoGVBof8QNR3V8vU385e2X7EvU3+Fbj4+M8="; 46 }) 47 # Fix tests on FreeBSD and Windows 48 (fetchpatch { ··· 50 url = "https://patch-diff.githubusercontent.com/raw/uxlfoundation/oneTBB/pull/1696.patch"; 51 hash = "sha256-yjX2FkOK8bz29a/XSA7qXgQw9lxzx8VIgEBREW32NN4="; 52 }) 53 - # Fix Threads::Threads target for static from https://github.com/oneapi-src/oneTBB/pull/1248 54 - # This is a conflict-resolved cherry-pick of the above PR to due to formatting differences. 55 - (fetchpatch { 56 - name = "fix-cmake-threads-threads-target-for-static.patch"; 57 - url = "https://patch-diff.githubusercontent.com/raw/uxlfoundation/oneTBB/pull/1248.patch"; 58 - hash = "sha256-3WKzxU93vxuy7NgW+ap+ocZz5Q5utZ/pK7+FQExzLLA="; 59 - }) 60 ]; 61 62 patchFlags = [ ··· 93 94 enableParallelBuilding = true; 95 96 - meta = with lib; { 97 description = "Intel Thread Building Blocks C++ Library"; 98 homepage = "http://threadingbuildingblocks.org/"; 99 - license = licenses.asl20; 100 longDescription = '' 101 Intel Threading Building Blocks offers a rich and complete approach to 102 expressing parallelism in a C++ program. It is a library that helps you ··· 105 represents a higher-level, task-based parallelism that abstracts platform 106 details and threading mechanisms for scalability and performance. 107 ''; 108 - platforms = platforms.unix ++ platforms.windows; 109 - maintainers = with maintainers; [ 110 silvanshade 111 thoughtpolice 112 tmarkus 113 ]; 114 }; 115 - }
··· 7 ninja, 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "tbb"; 12 + version = "2021.13.0"; 13 14 outputs = [ 15 "out" ··· 19 src = fetchFromGitHub { 20 owner = "oneapi-src"; 21 repo = "oneTBB"; 22 + tag = "v${finalAttrs.version}"; 23 + hash = "sha256-ZoUzY71SweVQ8/1k09MNSXiEqab6Ae+QTbxORnar9JU="; 24 }; 25 26 nativeBuildInputs = [ ··· 33 (fetchpatch { 34 url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/899.patch"; 35 hash = "sha256-kU6RRX+sde0NrQMKlNtW3jXav6J4QiVIUmD50asmBPU="; 36 }) 37 # Fix tests on FreeBSD and Windows 38 (fetchpatch { ··· 40 url = "https://patch-diff.githubusercontent.com/raw/uxlfoundation/oneTBB/pull/1696.patch"; 41 hash = "sha256-yjX2FkOK8bz29a/XSA7qXgQw9lxzx8VIgEBREW32NN4="; 42 }) 43 ]; 44 45 patchFlags = [ ··· 76 77 enableParallelBuilding = true; 78 79 + meta = { 80 description = "Intel Thread Building Blocks C++ Library"; 81 homepage = "http://threadingbuildingblocks.org/"; 82 + license = lib.licenses.asl20; 83 longDescription = '' 84 Intel Threading Building Blocks offers a rich and complete approach to 85 expressing parallelism in a C++ program. It is a library that helps you ··· 88 represents a higher-level, task-based parallelism that abstracts platform 89 details and threading mechanisms for scalability and performance. 90 ''; 91 + platforms = lib.platforms.all; 92 + maintainers = with lib.maintainers; [ 93 silvanshade 94 thoughtpolice 95 tmarkus 96 ]; 97 }; 98 + })
+2 -2
pkgs/development/python-modules/scipp/default.nix
··· 22 eigen, 23 gtest, 24 pybind11, 25 - tbb_2022_0, 26 27 # tests 28 pytestCheckHook, ··· 75 gtest 76 pybind11 77 units-llnl.passthru.top-level 78 - tbb_2022_0 79 ]; 80 81 nativeCheckInputs = [
··· 22 eigen, 23 gtest, 24 pybind11, 25 + tbb_2022, 26 27 # tests 28 pytestCheckHook, ··· 75 gtest 76 pybind11 77 units-llnl.passthru.top-level 78 + tbb_2022 79 ]; 80 81 nativeCheckInputs = [
-1
pkgs/top-level/aliases.nix
··· 1901 taplo-lsp = taplo; # Added 2022-07-30 1902 targetcli = targetcli-fb; # Added 2025-03-14 1903 taro = taproot-assets; # Added 2023-07-04 1904 - tbb_2021_5 = throw "tbb_2021_5 has been removed from nixpkgs, as it broke with GCC 14"; 1905 tcl-fcgi = tclPackages.tcl-fcgi; # Added 2024-10-02 1906 tclcurl = tclPackages.tclcurl; # Added 2024-10-02 1907 tcllib = tclPackages.tcllib; # Added 2024-10-02
··· 1901 taplo-lsp = taplo; # Added 2022-07-30 1902 targetcli = targetcli-fb; # Added 2025-03-14 1903 taro = taproot-assets; # Added 2023-07-04 1904 tcl-fcgi = tclPackages.tcl-fcgi; # Added 2024-10-02 1905 tclcurl = tclPackages.tclcurl; # Added 2024-10-02 1906 tcllib = tclPackages.tcllib; # Added 2024-10-02
+4 -7
pkgs/top-level/all-packages.nix
··· 311 }; 312 313 basalt-monado = callPackage ../by-name/ba/basalt-monado/package.nix { 314 - tbb = tbb_2021_11; 315 cereal = cereal_1_3_2; 316 opencv = opencv.override { enableGtk3 = true; }; 317 }; ··· 6101 6102 swi-prolog-gui = swi-prolog.override { withGui = true; }; 6103 6104 - tbb_2020_3 = callPackage ../development/libraries/tbb/2020_3.nix { }; 6105 - tbb_2021_11 = callPackage ../development/libraries/tbb { }; 6106 - tbb_2022_0 = callPackage ../development/libraries/tbb/2022_0.nix { }; 6107 # many packages still fail with latest version 6108 - tbb = tbb_2020_3; 6109 6110 teyjus = callPackage ../development/compilers/teyjus { 6111 inherit (ocaml-ng.ocamlPackages_4_14) buildDunePackage; ··· 7385 7386 ikos = callPackage ../development/tools/analysis/ikos { 7387 inherit (llvmPackages_14) stdenv clang llvm; 7388 - tbb = tbb_2021_11; 7389 }; 7390 7391 include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use { ··· 7884 7885 cctag = callPackage ../development/libraries/cctag { 7886 stdenv = clangStdenv; 7887 - tbb = tbb_2021_11; 7888 }; 7889 7890 ceedling = callPackage ../development/tools/ceedling { };
··· 311 }; 312 313 basalt-monado = callPackage ../by-name/ba/basalt-monado/package.nix { 314 + tbb = tbb_2021; 315 cereal = cereal_1_3_2; 316 opencv = opencv.override { enableGtk3 = true; }; 317 }; ··· 6101 6102 swi-prolog-gui = swi-prolog.override { withGui = true; }; 6103 6104 # many packages still fail with latest version 6105 + tbb = tbb_2020; 6106 6107 teyjus = callPackage ../development/compilers/teyjus { 6108 inherit (ocaml-ng.ocamlPackages_4_14) buildDunePackage; ··· 7382 7383 ikos = callPackage ../development/tools/analysis/ikos { 7384 inherit (llvmPackages_14) stdenv clang llvm; 7385 + tbb = tbb_2021; 7386 }; 7387 7388 include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use { ··· 7881 7882 cctag = callPackage ../development/libraries/cctag { 7883 stdenv = clangStdenv; 7884 + tbb = tbb_2021; 7885 }; 7886 7887 ceedling = callPackage ../development/tools/ceedling { };