Merge pull request #288960 from a-n-n-a-l-e-e/tensorflow-llvm11-unpin
python311Packages.tensorflow: llvmPackages_11 -> llvmPackages
This commit is contained in:
commit
cb298310ab
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
, avx2Support ? stdenv.hostPlatform.avx2Support
|
||||
, fmaSupport ? stdenv.hostPlatform.fmaSupport
|
||||
# Darwin deps
|
||||
, Foundation, Security, cctools, llvmPackages_11
|
||||
, Foundation, Security, cctools, llvmPackages
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -51,7 +51,7 @@ let
|
|||
# translation units, so the build fails at link time
|
||||
stdenv =
|
||||
if cudaSupport then cudaPackagesGoogle.backendStdenv
|
||||
else if originalStdenv.isDarwin then llvmPackages_11.stdenv
|
||||
else if originalStdenv.isDarwin then llvmPackages.stdenv
|
||||
else originalStdenv;
|
||||
inherit (cudaPackagesGoogle) cudatoolkit nccl;
|
||||
# use compatible cuDNN (https://www.tensorflow.org/install/source#gpu)
|
||||
|
|
Loading…
Reference in a new issue