Commit d3eee9a8 authored by Emily's avatar Emily
Browse files

python311Packages.tensorflow: remove code for macOS < 11

parent 53d15ba5
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
diff -ru a/absl/base/config.h b/absl/base/config.h
--- a/absl/base/config.h
+++ b/absl/base/config.h
@@ -558,9 +558,9 @@
         __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 50000) ||   \
        (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) &&      \
         __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 120000))))
-#define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 1
+// #define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 1
 #else
-#define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 0
+// #define ABSL_INTERNAL_APPLE_CXX17_TYPES_UNAVAILABLE 0
 #endif
 
 // ABSL_HAVE_STD_ANY
+0 −3
Original line number Diff line number Diff line
@@ -449,9 +449,6 @@ let
        rm -f .bazelversion
        patchShebangs .
      ''
      + lib.optionalString (stdenv.hostPlatform.system == "x86_64-darwin") ''
        cat ${./com_google_absl_fix_macos.patch} >> third_party/absl/com_google_absl_fix_mac_and_nvcc_build.patch
      ''
      + lib.optionalString (!withTensorboard) ''
        # Tensorboard pulls in a bunch of dependencies, some of which may
        # include security vulnerabilities. So we make it optional.