mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
libblake3: Use tbb32 pkgconfig package on 32-bit builds
(cherry picked from commit 9a43486fe9)
This commit is contained in:
committed by
github-actions[bot]
parent
48945455aa
commit
a0d91feda2
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
tbb_2021_11,
|
||||
useTBB ? true,
|
||||
darwinMinVersionHook,
|
||||
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user