diff options
author | silvanshade | 2024-04-05 09:36:37 -0600 |
---|---|---|
committer | GitHub | 2024-04-05 17:36:37 +0200 |
commit | 2d8b10e3f0ef8d175337368d37eb75134bbf132a (patch) | |
tree | 210be7cb4926c652972cab9b0da40e33aaa7ff29 | |
parent | 5a64777bac81e0e8ccfc61ab02b8b8c00abe78cd (diff) |
tbb: 2021.8.0 -> 2021.11.0 (#301391)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
-rw-r--r-- | pkgs/applications/misc/bambu-studio/default.nix | 6 | ||||
-rw-r--r-- | pkgs/applications/misc/prusa-slicer/default.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/op/openscad-unstable/package.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/pd/pdf4qt/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/sa/salmon/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/ue/ueberzugpp/package.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/tbb/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 8 |
8 files changed, 22 insertions, 38 deletions
diff --git a/pkgs/applications/misc/bambu-studio/default.nix b/pkgs/applications/misc/bambu-studio/default.nix index 3046a2325370..506983b90032 100644 --- a/pkgs/applications/misc/bambu-studio/default.nix +++ b/pkgs/applications/misc/bambu-studio/default.nix @@ -38,7 +38,7 @@ , pcre , qhull , systemd -, tbb_2021_8 +, tbb_2021_11 , webkitgtk , wxGTK31 , xorg @@ -53,7 +53,7 @@ let ]; }); openvdb_tbb_2021_8 = openvdb.overrideAttrs (old: rec { - buildInputs = [ openexr boost179 tbb_2021_8 jemalloc c-blosc ilmbase ]; + buildInputs = [ openexr boost179 tbb_2021_11 jemalloc c-blosc ilmbase ]; }); in stdenv.mkDerivation rec { @@ -102,7 +102,7 @@ stdenv.mkDerivation rec { opencascade-occt openvdb_tbb_2021_8 pcre - tbb_2021_8 + tbb_2021_11 webkitgtk wxGTK31' xorg.libX11 diff --git a/pkgs/applications/misc/prusa-slicer/default.nix b/pkgs/applications/misc/prusa-slicer/default.nix index 959b13eea912..8b86af91934e 100644 --- a/pkgs/applications/misc/prusa-slicer/default.nix +++ b/pkgs/applications/misc/prusa-slicer/default.nix @@ -27,7 +27,7 @@ , openvdb , pcre , qhull -, tbb_2021_8 +, tbb_2021_11 , wxGTK32 , xorg , libbgcode @@ -61,7 +61,7 @@ let hash = "sha256-WNdAYu66ggpSYJ8Kt57yEA4mSTv+Rvzj9Rm1q765HpY="; }; }); - openvdb_tbb_2021_8 = openvdb.override { tbb = tbb_2021_8; }; + openvdb_tbb_2021_8 = openvdb.override { tbb = tbb_2021_11; }; wxGTK-override' = if wxGTK-override == null then wxGTK-prusa else wxGTK-override; in stdenv.mkDerivation (finalAttrs: { @@ -104,7 +104,7 @@ stdenv.mkDerivation (finalAttrs: { openvdb_tbb_2021_8 pcre qhull - tbb_2021_8 + tbb_2021_11 wxGTK-override' xorg.libX11 libbgcode diff --git a/pkgs/by-name/op/openscad-unstable/package.nix b/pkgs/by-name/op/openscad-unstable/package.nix index 05aaf2dee012..4483d5271fb1 100644 --- a/pkgs/by-name/op/openscad-unstable/package.nix +++ b/pkgs/by-name/op/openscad-unstable/package.nix @@ -31,7 +31,7 @@ , mesa , mpfr , python3 -, tbb_2021_8 +, tbb_2021_11 , wayland , wayland-protocols , wrapGAppsHook @@ -51,7 +51,7 @@ let hash = "sha256-f11CNfa8jF9VbzvOoX1vT8zGIJL9cZ/VBpiklUn0YdU="; }; nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ tbb_2021_8 ]; + buildInputs = [ tbb_2021_11 ]; cmakeFlags = [ # only enable what we need "-DCCCL_ENABLE_CUB=OFF" @@ -105,7 +105,7 @@ clangStdenv.mkDerivation rec { # manifold dependencies clipper2 glm - tbb_2021_8 + tbb_2021_11 nvidia-cccl boost diff --git a/pkgs/by-name/pd/pdf4qt/package.nix b/pkgs/by-name/pd/pdf4qt/package.nix index 95152518f799..fd87006b8bd1 100644 --- a/pkgs/by-name/pd/pdf4qt/package.nix +++ b/pkgs/by-name/pd/pdf4qt/package.nix @@ -7,7 +7,7 @@ , pkg-config , qt6 , openjpeg -, tbb_2021_8 +, tbb_2021_11 }: stdenv.mkDerivation (finalAttrs: { @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { qt6.qtspeech lcms openjpeg - tbb_2021_8 + tbb_2021_11 ]; cmakeFlags = [ diff --git a/pkgs/by-name/sa/salmon/package.nix b/pkgs/by-name/sa/salmon/package.nix index 5d65e2698a42..cf74c0677fe7 100644 --- a/pkgs/by-name/sa/salmon/package.nix +++ b/pkgs/by-name/sa/salmon/package.nix @@ -13,7 +13,7 @@ , libiconv , libstaden-read , pkg-config -, tbb_2021_8 +, tbb_2021_11 , xz , zlib }: @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { jemalloc libgff libstaden-read - tbb_2021_8 + tbb_2021_11 xz zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; diff --git a/pkgs/by-name/ue/ueberzugpp/package.nix b/pkgs/by-name/ue/ueberzugpp/package.nix index a06923904d2f..82fe4ef72ca8 100644 --- a/pkgs/by-name/ue/ueberzugpp/package.nix +++ b/pkgs/by-name/ue/ueberzugpp/package.nix @@ -6,7 +6,7 @@ , openssl , zeromq , cppzmq -, tbb_2021_8 +, tbb_2021_11 , spdlog , libsodium , fmt @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { openssl zeromq cppzmq - tbb_2021_8 + tbb_2021_11 spdlog libsodium fmt diff --git a/pkgs/development/libraries/tbb/default.nix b/pkgs/development/libraries/tbb/default.nix index 5523ae429c26..c02a9ed49577 100644 --- a/pkgs/development/libraries/tbb/default.nix +++ b/pkgs/development/libraries/tbb/default.nix @@ -7,7 +7,7 @@ stdenv.mkDerivation rec { pname = "tbb"; - version = "2021.8.0"; + version = "2021.11.0"; outputs = [ "out" "dev" ]; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { owner = "oneapi-src"; repo = "oneTBB"; rev = "v${version}"; - hash = "sha256-7MjUdPB1GsPt7ZkYj7DCisq20X8psljsVCjDpCSTYT4="; + hash = "sha256-zGZHMtAUVzBKFbCshpepm3ce3tW6wQ+F30kYYXAQ/TE="; }; nativeBuildInputs = [ @@ -28,27 +28,11 @@ stdenv.mkDerivation rec { url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/899.patch"; hash = "sha256-kU6RRX+sde0NrQMKlNtW3jXav6J4QiVIUmD50asmBPU="; }) - - # Fix/suppress warnings on gcc12.1 from https://github.com/oneapi-src/oneTBB/pull/866 - (fetchpatch { - url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/866.patch"; - hash = "sha256-e44Yv84Hfl5xoxWWTnLJLSGeNA1RBbah4/L43gPLS+c="; - }) - - # Fix build with GCC 13 - (fetchpatch { - url = "https://github.com/oneapi-src/oneTBB/commit/154cc73ca4d359621202399cc0c3c91058e56e79.patch"; - hash = "sha256-BVQQXgBg8T19DGw2gmFkm3KKOuzzJJNOTf/iNIcnHag="; - }) - (fetchpatch { - url = "https://github.com/oneapi-src/oneTBB/commit/e131071769ee3df51b56b053ba6bfa06ae9eff25.patch"; - hash = "sha256-IfV/DDb0luxE1l6TofAbQIeJEVxCxZfZqcONGwQEndY="; - }) ]; # Fix build with modern gcc # In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]', - NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-Wno-error=stringop-overflow" ] ++ + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-Wno-error=array-bounds" "-Wno-error=stringop-overflow" ] ++ # error: variable 'val' set but not used lib.optionals stdenv.cc.isClang [ "-Wno-error=unused-but-set-variable" ] ++ # Workaround for gcc-12 ICE when using -O3 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5717c09857c4..b8f13650edb8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17095,7 +17095,7 @@ with pkgs; swiPrologWithGui = swiProlog.override { withGui = true; }; tbb_2020_3 = callPackage ../development/libraries/tbb/2020_3.nix { }; - tbb_2021_8 = callPackage ../development/libraries/tbb { }; + tbb_2021_11 = callPackage ../development/libraries/tbb { }; # many packages still fail with latest version tbb = tbb_2020_3; @@ -19087,7 +19087,7 @@ with pkgs; ikos = callPackage ../development/tools/analysis/ikos { inherit (llvmPackages_14) stdenv clang llvm; - tbb = tbb_2021_8; + tbb = tbb_2021_11; }; img = callPackage ../development/tools/img { }; @@ -19333,7 +19333,7 @@ with pkgs; mold = callPackage ../development/tools/mold { stdenv = if stdenv.isDarwin then overrideLibcxx darwin.apple_sdk_11_0.llvmPackages_16.stdenv else stdenv; - tbb = tbb_2021_8; + tbb = tbb_2021_11; }; mold-wrapped = wrapBintoolsWith { @@ -20481,7 +20481,7 @@ with pkgs; ccrtp = callPackage ../development/libraries/ccrtp { }; cctag = callPackage ../development/libraries/cctag { - tbb = tbb_2021_8; + tbb = tbb_2021_11; }; cctz = callPackage ../development/libraries/cctz { |