From 64820eca79b3bb0daca9d2aedb94a4d2955b4e68 Mon Sep 17 00:00:00 2001 From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> Date: Wed, 24 Jan 2024 19:27:02 +0000 Subject: [PATCH] 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 --- pkgs/development/python-modules/tensorflow/default.nix | 4 ++-- 1 file 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)