python311Packages.tensorflow: llvmPackages_11 -> llvmPackages

remove llvmPackages_11 reference in preparation to drop LLVM11
Note: darwin build is broken so building with llvmPackages is untested
This commit is contained in:
annalee
2024-02-19 22:12:28 +00:00
parent 75aaea55f9
commit 64820eca79
@@ -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)