Unverified Commit 3fd88dbc authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

pkgsStatic.onetbb: mark unsupported (#471845)

parents 837fcae8 71dc2e7d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6,7 +6,8 @@
  fetchpatch,
  onetbb,

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

stdenv.mkDerivation (finalAttrs: {
+4 −0
Original line number Diff line number Diff line
@@ -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