Unverified Commit b9e2fbf1 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

libblake3: use older tbb version on macOS (#393048)

parents aa865d6c ee0fc355
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  stdenv,
  cmake,
  fetchFromGitHub,
  tbb_2022_0,
  tbb_2021_11,
  useTBB ? true,
}:

@@ -22,7 +22,10 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [ cmake ];

  buildInputs = lib.optionals useTBB [ tbb_2022_0 ];
  buildInputs = lib.optionals useTBB [
    # 2022.0 crashes on macOS at the moment
    tbb_2021_11
  ];

  cmakeFlags = [
    (lib.cmakeBool "BLAKE3_USE_TBB" useTBB)