Compare commits

...

1 Commits

Author SHA1 Message Date
chn
ceb36eb09b ctranslate2: disable CPU dispatching when micro architecture is set 2025-11-13 15:01:18 +08:00

View File

@@ -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 =