tbb: 2021.8.0 -> 2021.11.0 (#301391)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
This commit is contained in:
parent
5a64777bac
commit
2d8b10e3f0
8 changed files with 22 additions and 38 deletions
|
@ -38,7 +38,7 @@
|
||||||
, pcre
|
, pcre
|
||||||
, qhull
|
, qhull
|
||||||
, systemd
|
, systemd
|
||||||
, tbb_2021_8
|
, tbb_2021_11
|
||||||
, webkitgtk
|
, webkitgtk
|
||||||
, wxGTK31
|
, wxGTK31
|
||||||
, xorg
|
, xorg
|
||||||
|
@ -53,7 +53,7 @@ let
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
openvdb_tbb_2021_8 = openvdb.overrideAttrs (old: rec {
|
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
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -102,7 +102,7 @@ stdenv.mkDerivation rec {
|
||||||
opencascade-occt
|
opencascade-occt
|
||||||
openvdb_tbb_2021_8
|
openvdb_tbb_2021_8
|
||||||
pcre
|
pcre
|
||||||
tbb_2021_8
|
tbb_2021_11
|
||||||
webkitgtk
|
webkitgtk
|
||||||
wxGTK31'
|
wxGTK31'
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
, openvdb
|
, openvdb
|
||||||
, pcre
|
, pcre
|
||||||
, qhull
|
, qhull
|
||||||
, tbb_2021_8
|
, tbb_2021_11
|
||||||
, wxGTK32
|
, wxGTK32
|
||||||
, xorg
|
, xorg
|
||||||
, libbgcode
|
, libbgcode
|
||||||
|
@ -61,7 +61,7 @@ let
|
||||||
hash = "sha256-WNdAYu66ggpSYJ8Kt57yEA4mSTv+Rvzj9Rm1q765HpY=";
|
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;
|
wxGTK-override' = if wxGTK-override == null then wxGTK-prusa else wxGTK-override;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -104,7 +104,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
openvdb_tbb_2021_8
|
openvdb_tbb_2021_8
|
||||||
pcre
|
pcre
|
||||||
qhull
|
qhull
|
||||||
tbb_2021_8
|
tbb_2021_11
|
||||||
wxGTK-override'
|
wxGTK-override'
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
libbgcode
|
libbgcode
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
, mesa
|
, mesa
|
||||||
, mpfr
|
, mpfr
|
||||||
, python3
|
, python3
|
||||||
, tbb_2021_8
|
, tbb_2021_11
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
@ -51,7 +51,7 @@ let
|
||||||
hash = "sha256-f11CNfa8jF9VbzvOoX1vT8zGIJL9cZ/VBpiklUn0YdU=";
|
hash = "sha256-f11CNfa8jF9VbzvOoX1vT8zGIJL9cZ/VBpiklUn0YdU=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [ tbb_2021_8 ];
|
buildInputs = [ tbb_2021_11 ];
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
# only enable what we need
|
# only enable what we need
|
||||||
"-DCCCL_ENABLE_CUB=OFF"
|
"-DCCCL_ENABLE_CUB=OFF"
|
||||||
|
@ -105,7 +105,7 @@ clangStdenv.mkDerivation rec {
|
||||||
# manifold dependencies
|
# manifold dependencies
|
||||||
clipper2
|
clipper2
|
||||||
glm
|
glm
|
||||||
tbb_2021_8
|
tbb_2021_11
|
||||||
nvidia-cccl
|
nvidia-cccl
|
||||||
|
|
||||||
boost
|
boost
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, qt6
|
, qt6
|
||||||
, openjpeg
|
, openjpeg
|
||||||
, tbb_2021_8
|
, tbb_2021_11
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
qt6.qtspeech
|
qt6.qtspeech
|
||||||
lcms
|
lcms
|
||||||
openjpeg
|
openjpeg
|
||||||
tbb_2021_8
|
tbb_2021_11
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
, libiconv
|
, libiconv
|
||||||
, libstaden-read
|
, libstaden-read
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, tbb_2021_8
|
, tbb_2021_11
|
||||||
, xz
|
, xz
|
||||||
, zlib
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
jemalloc
|
jemalloc
|
||||||
libgff
|
libgff
|
||||||
libstaden-read
|
libstaden-read
|
||||||
tbb_2021_8
|
tbb_2021_11
|
||||||
xz
|
xz
|
||||||
zlib
|
zlib
|
||||||
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
, openssl
|
, openssl
|
||||||
, zeromq
|
, zeromq
|
||||||
, cppzmq
|
, cppzmq
|
||||||
, tbb_2021_8
|
, tbb_2021_11
|
||||||
, spdlog
|
, spdlog
|
||||||
, libsodium
|
, libsodium
|
||||||
, fmt
|
, fmt
|
||||||
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||||
openssl
|
openssl
|
||||||
zeromq
|
zeromq
|
||||||
cppzmq
|
cppzmq
|
||||||
tbb_2021_8
|
tbb_2021_11
|
||||||
spdlog
|
spdlog
|
||||||
libsodium
|
libsodium
|
||||||
fmt
|
fmt
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tbb";
|
pname = "tbb";
|
||||||
version = "2021.8.0";
|
version = "2021.11.0";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "oneapi-src";
|
owner = "oneapi-src";
|
||||||
repo = "oneTBB";
|
repo = "oneTBB";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-7MjUdPB1GsPt7ZkYj7DCisq20X8psljsVCjDpCSTYT4=";
|
hash = "sha256-zGZHMtAUVzBKFbCshpepm3ce3tW6wQ+F30kYYXAQ/TE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -28,27 +28,11 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/899.patch";
|
url = "https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/899.patch";
|
||||||
hash = "sha256-kU6RRX+sde0NrQMKlNtW3jXav6J4QiVIUmD50asmBPU=";
|
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
|
# Fix build with modern gcc
|
||||||
# In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]',
|
# 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
|
# error: variable 'val' set but not used
|
||||||
lib.optionals stdenv.cc.isClang [ "-Wno-error=unused-but-set-variable" ] ++
|
lib.optionals stdenv.cc.isClang [ "-Wno-error=unused-but-set-variable" ] ++
|
||||||
# Workaround for gcc-12 ICE when using -O3
|
# Workaround for gcc-12 ICE when using -O3
|
||||||
|
|
|
@ -17095,7 +17095,7 @@ with pkgs;
|
||||||
swiPrologWithGui = swiProlog.override { withGui = true; };
|
swiPrologWithGui = swiProlog.override { withGui = true; };
|
||||||
|
|
||||||
tbb_2020_3 = callPackage ../development/libraries/tbb/2020_3.nix { };
|
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
|
# many packages still fail with latest version
|
||||||
tbb = tbb_2020_3;
|
tbb = tbb_2020_3;
|
||||||
|
|
||||||
|
@ -19087,7 +19087,7 @@ with pkgs;
|
||||||
|
|
||||||
ikos = callPackage ../development/tools/analysis/ikos {
|
ikos = callPackage ../development/tools/analysis/ikos {
|
||||||
inherit (llvmPackages_14) stdenv clang llvm;
|
inherit (llvmPackages_14) stdenv clang llvm;
|
||||||
tbb = tbb_2021_8;
|
tbb = tbb_2021_11;
|
||||||
};
|
};
|
||||||
|
|
||||||
img = callPackage ../development/tools/img { };
|
img = callPackage ../development/tools/img { };
|
||||||
|
@ -19333,7 +19333,7 @@ with pkgs;
|
||||||
|
|
||||||
mold = callPackage ../development/tools/mold {
|
mold = callPackage ../development/tools/mold {
|
||||||
stdenv = if stdenv.isDarwin then overrideLibcxx darwin.apple_sdk_11_0.llvmPackages_16.stdenv else stdenv;
|
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 {
|
mold-wrapped = wrapBintoolsWith {
|
||||||
|
@ -20481,7 +20481,7 @@ with pkgs;
|
||||||
ccrtp = callPackage ../development/libraries/ccrtp { };
|
ccrtp = callPackage ../development/libraries/ccrtp { };
|
||||||
|
|
||||||
cctag = callPackage ../development/libraries/cctag {
|
cctag = callPackage ../development/libraries/cctag {
|
||||||
tbb = tbb_2021_8;
|
tbb = tbb_2021_11;
|
||||||
};
|
};
|
||||||
|
|
||||||
cctz = callPackage ../development/libraries/cctz {
|
cctz = callPackage ../development/libraries/cctz {
|
||||||
|
|
Loading…
Reference in a new issue