tbb_2021: shorten name; move to by-name
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
opencascade-occt_7_6_1,
|
||||
openvdb,
|
||||
qhull,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
wxGTK32,
|
||||
xorg,
|
||||
libbgcode,
|
||||
@@ -54,7 +54,7 @@ let
|
||||
hash = "sha256-WNdAYu66ggpSYJ8Kt57yEA4mSTv+Rvzj9Rm1q765HpY=";
|
||||
};
|
||||
});
|
||||
openvdb_tbb_2021_8 = openvdb.override { tbb = tbb_2021_11; };
|
||||
openvdb_tbb_2021_8 = openvdb.override { tbb = tbb_2021; };
|
||||
wxGTK-override' = if wxGTK-override == null then wxGTK32 else wxGTK-override;
|
||||
opencascade-override' =
|
||||
if opencascade-override == null then opencascade-occt_7_6_1 else opencascade-override;
|
||||
@@ -125,7 +125,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
opencascade-override'
|
||||
openvdb_tbb_2021_8
|
||||
qhull
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
wxGTK-override'
|
||||
xorg.libX11
|
||||
libbgcode
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
boost,
|
||||
fuse3,
|
||||
lib45d,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
liburing,
|
||||
installShellFiles,
|
||||
}:
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
boost
|
||||
fuse3
|
||||
lib45d
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
liburing
|
||||
];
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
opencv,
|
||||
pcre,
|
||||
systemd,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
webkitgtk_4_0,
|
||||
wxGTK31,
|
||||
xorg,
|
||||
@@ -102,7 +102,7 @@ stdenv.mkDerivation rec {
|
||||
opencascade-occt_7_6
|
||||
openvdb
|
||||
pcre
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
webkitgtk_4_0
|
||||
wxGTK'
|
||||
xorg.libX11
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
libgit2,
|
||||
curl,
|
||||
fmt,
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
libgit2
|
||||
fmt
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
nlohmann_json
|
||||
curl
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
|
||||
useTBB ? true,
|
||||
}:
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
propagatedBuildInputs = lib.optionals useTBB [
|
||||
# 2022.0 crashes on macOS at the moment
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
gtest,
|
||||
icu,
|
||||
spdlog,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
yaml-cpp,
|
||||
}:
|
||||
|
||||
@@ -70,7 +70,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gtest
|
||||
icu
|
||||
(spdlog.override { fmt = fmt_11; })
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
|
||||
finalAttrs.passthru.yaml-cpp # has merge-key support
|
||||
finalAttrs.passthru.libloadorder
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
clipper2,
|
||||
gtest,
|
||||
glm,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
gtest
|
||||
glm
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
clipper2
|
||||
];
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
flex,
|
||||
pkg-config,
|
||||
python3,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
buildPackages,
|
||||
nix-update-script,
|
||||
}:
|
||||
@@ -63,7 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
boost
|
||||
capnproto # cmake modules
|
||||
flex # include dir
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
python3
|
||||
];
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
opencv,
|
||||
pcre,
|
||||
systemd,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
webkitgtk_4_0,
|
||||
wxGTK31,
|
||||
xorg,
|
||||
@@ -112,7 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
opencascade-occt_7_6
|
||||
openvdb
|
||||
pcre
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
webkitgtk_4_0
|
||||
wxGTK'
|
||||
xorg.libX11
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
qt6,
|
||||
wrapGAppsHook3,
|
||||
openjpeg,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
blend2d,
|
||||
}:
|
||||
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qt6.qtspeech
|
||||
lcms
|
||||
openjpeg
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
blend2d
|
||||
];
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
libiconv,
|
||||
libstaden-read,
|
||||
pkg-config,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
xz,
|
||||
zlib,
|
||||
}:
|
||||
@@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
jemalloc
|
||||
libgff
|
||||
libstaden-read
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
xz
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
boost,
|
||||
blas,
|
||||
gmp,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
gfortran,
|
||||
}:
|
||||
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
gmp
|
||||
gfortran
|
||||
boost
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
scipopt-papilo,
|
||||
scipopt-zimpl,
|
||||
ipopt,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
boost,
|
||||
gfortran,
|
||||
criterion,
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
gmp
|
||||
readline
|
||||
zlib
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
boost
|
||||
gfortran
|
||||
criterion
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
gtest,
|
||||
glm,
|
||||
qt6,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
tracy,
|
||||
replaceVars,
|
||||
python3,
|
||||
@@ -130,7 +130,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
aws-sdk-cpp
|
||||
howard-hinnant-date
|
||||
boost
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
glew
|
||||
geos
|
||||
spdlog
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
ninja,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "tbb";
|
||||
version = "2021.11.0";
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "oneapi-src";
|
||||
repo = "oneTBB";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zGZHMtAUVzBKFbCshpepm3ce3tW6wQ+F30kYYXAQ/TE=";
|
||||
};
|
||||
|
||||
@@ -93,10 +93,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Intel Thread Building Blocks C++ Library";
|
||||
homepage = "http://threadingbuildingblocks.org/";
|
||||
license = licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
longDescription = ''
|
||||
Intel Threading Building Blocks offers a rich and complete approach to
|
||||
expressing parallelism in a C++ program. It is a library that helps you
|
||||
@@ -105,11 +105,11 @@ stdenv.mkDerivation rec {
|
||||
represents a higher-level, task-based parallelism that abstracts platform
|
||||
details and threading mechanisms for scalability and performance.
|
||||
'';
|
||||
platforms = platforms.unix ++ platforms.windows;
|
||||
maintainers = with maintainers; [
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [
|
||||
silvanshade
|
||||
thoughtpolice
|
||||
tmarkus
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
@@ -7,7 +7,7 @@
|
||||
openssl,
|
||||
zeromq,
|
||||
cppzmq,
|
||||
tbb_2021_11,
|
||||
tbb_2021,
|
||||
spdlog,
|
||||
libsodium,
|
||||
fmt,
|
||||
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
openssl
|
||||
zeromq
|
||||
cppzmq
|
||||
tbb_2021_11
|
||||
tbb_2021
|
||||
spdlog
|
||||
libsodium
|
||||
fmt
|
||||
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
buildInputs = [
|
||||
ispc
|
||||
# tbb_2021_0 is not backward compatible
|
||||
# tbb_2021 is not backward compatible
|
||||
tbb_2020_3
|
||||
glfw
|
||||
openimageio_2
|
||||
|
||||
@@ -1899,7 +1899,6 @@ mapAliases {
|
||||
taplo-lsp = taplo; # Added 2022-07-30
|
||||
targetcli = targetcli-fb; # Added 2025-03-14
|
||||
taro = taproot-assets; # Added 2023-07-04
|
||||
tbb_2021_5 = throw "tbb_2021_5 has been removed from nixpkgs, as it broke with GCC 14";
|
||||
tcl-fcgi = tclPackages.tcl-fcgi; # Added 2024-10-02
|
||||
tclcurl = tclPackages.tclcurl; # Added 2024-10-02
|
||||
tcllib = tclPackages.tcllib; # Added 2024-10-02
|
||||
|
||||
@@ -311,7 +311,7 @@ with pkgs;
|
||||
};
|
||||
|
||||
basalt-monado = callPackage ../by-name/ba/basalt-monado/package.nix {
|
||||
tbb = tbb_2021_11;
|
||||
tbb = tbb_2021;
|
||||
cereal = cereal_1_3_2;
|
||||
opencv = opencv.override { enableGtk3 = true; };
|
||||
};
|
||||
@@ -6101,7 +6101,6 @@ with pkgs;
|
||||
swi-prolog-gui = swi-prolog.override { withGui = true; };
|
||||
|
||||
tbb_2020_3 = callPackage ../development/libraries/tbb/2020_3.nix { };
|
||||
tbb_2021_11 = callPackage ../development/libraries/tbb { };
|
||||
# many packages still fail with latest version
|
||||
tbb = tbb_2020_3;
|
||||
|
||||
@@ -7383,7 +7382,7 @@ with pkgs;
|
||||
|
||||
ikos = callPackage ../development/tools/analysis/ikos {
|
||||
inherit (llvmPackages_14) stdenv clang llvm;
|
||||
tbb = tbb_2021_11;
|
||||
tbb = tbb_2021;
|
||||
};
|
||||
|
||||
include-what-you-use = callPackage ../development/tools/analysis/include-what-you-use {
|
||||
@@ -7882,7 +7881,7 @@ with pkgs;
|
||||
|
||||
cctag = callPackage ../development/libraries/cctag {
|
||||
stdenv = clangStdenv;
|
||||
tbb = tbb_2021_11;
|
||||
tbb = tbb_2021;
|
||||
};
|
||||
|
||||
ceedling = callPackage ../development/tools/ceedling { };
|
||||
|
||||
Reference in New Issue
Block a user