Unverified Commit 974707f1 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

ctranslate2: disable CPU dispatching when micro architecture is set (#461165)

parents 791d5b63 ceb36eb0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -72,6 +72,9 @@ stdenv'.mkDerivation (finalAttrs: {
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    (lib.cmakeBool "WITH_ACCELERATE" true)
  ]
  ++ lib.optionals (stdenv.hostPlatform.gcc.arch or null != null) [
    (lib.cmakeBool "ENABLE_CPU_DISPATCH" false)
  ];

  buildInputs =