about summary refs log tree commit diff
diff options
context:
space:
mode:
authorannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2024-01-24 19:27:02 +0000
committerannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2024-02-19 22:12:28 +0000
commit64820eca79b3bb0daca9d2aedb94a4d2955b4e68 (patch)
treecda31e96833d1845a4dc45c16496151ce9fa8f30
parent75aaea55f9ec218cb0324fef9bafa710e34087db (diff)
downloadnixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.tar
nixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.tar.gz
nixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.tar.bz2
nixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.tar.lz
nixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.tar.xz
nixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.tar.zst
nixlib-64820eca79b3bb0daca9d2aedb94a4d2955b4e68.zip
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
-rw-r--r--pkgs/development/python-modules/tensorflow/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix
index 8714a77d8812..069b87b76f84 100644
--- a/pkgs/development/python-modules/tensorflow/default.nix
+++ b/pkgs/development/python-modules/tensorflow/default.nix
@@ -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)