Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkgs/by-name/li/libblake3/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
fetchpatch,
onetbb,

useTBB ? true,
# TBB doesn't support being built static
useTBB ? !stdenv.hostPlatform.isStatic,
}:

stdenv.mkDerivation (finalAttrs: {
Expand Down
4 changes: 4 additions & 0 deletions pkgs/by-name/on/onetbb/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ stdenv.mkDerivation (finalAttrs: {
performance of multi-core processors.
'';
platforms = lib.platforms.all;
# oneTBB does not support static builds
# "You are building oneTBB as a static library. This is highly discouraged and such configuration is not supported. Consider building a dynamic library to avoid unforeseen issues."
# https://github.com/uxlfoundation/oneTBB/blob/db7891a246cafbb90719c3dee497d96889ca692b/CMakeLists.txt#L160
badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ];
maintainers = with lib.maintainers; [
silvanshade
thoughtpolice
Expand Down
Loading