Loading pkgs/development/python-modules/tensorflow/com_google_absl_fix_macos.patchdeleted 100644 → 0 +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 pkgs/development/python-modules/tensorflow/default.nix +0 −3 Original line number Diff line number Diff line Loading @@ -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. Loading Loading
pkgs/development/python-modules/tensorflow/com_google_absl_fix_macos.patchdeleted 100644 → 0 +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
pkgs/development/python-modules/tensorflow/default.nix +0 −3 Original line number Diff line number Diff line Loading @@ -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. Loading