libblake3: Use tbb32 pkgconfig package on 32-bit builds (#402739)

This commit is contained in:
John Ericson
2025-04-29 13:25:48 -04:00
committed by GitHub
+10
View File
@@ -3,6 +3,7 @@
stdenv,
cmake,
fetchFromGitHub,
fetchpatch,
tbb_2021_11,
useTBB ? true,
@@ -19,6 +20,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-IABVErXWYQFXZcwsFKfQhm3ox7UZUcW5uzVrGwsSp94=";
};
patches = [
# build(cmake): Use tbb32 pkgconfig package on 32-bit builds (BLAKE3-team/BLAKE3#482)
(fetchpatch {
url = "https://github.com/BLAKE3-team/BLAKE3/commit/dab799623310c8f4be6575002d5c681c09a0e209.patch";
hash = "sha256-npCtM8nOFU8Tcu//IykjMs8aLU12d93+mIfKuxHkuaQ=";
relative = "c";
})
];
sourceRoot = finalAttrs.src.name + "/c";
nativeBuildInputs = [ cmake ];