ctranslate2: move to by-name

This commit is contained in:
Gaetan Lepage
2025-10-07 12:57:17 +00:00
parent bce5fe2bb9
commit f9bbe9049f
2 changed files with 3 additions and 8 deletions
@@ -1,13 +1,14 @@
{
lib,
stdenv,
config,
fetchFromGitHub,
cmake,
llvmPackages, # openmp
withMkl ? false,
mkl,
withCUDA ? false,
withCuDNN ? false,
withCUDA ? config.cudaSupport,
withCuDNN ? withCUDA && (cudaPackages ? cudnn),
cudaPackages,
# Enabling both withOneDNN and withOpenblas is broken
# https://github.com/OpenNMT/CTranslate2/issues/1294
-6
View File
@@ -7140,12 +7140,6 @@ with pkgs;
inherit (cosmopolitan) cosmocc;
ctranslate2 = callPackage ../development/libraries/ctranslate2 rec {
withCUDA = pkgs.config.cudaSupport;
withCuDNN = withCUDA && (cudaPackages ? cudnn);
cudaPackages = pkgs.cudaPackages;
};
ustream-ssl = callPackage ../development/libraries/ustream-ssl { ssl_implementation = openssl; };
ustream-ssl-wolfssl = callPackage ../development/libraries/ustream-ssl {