ctranslate2: move to by-name
This commit is contained in:
+3
-2
@@ -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
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user