aboutsummaryrefslogtreecommitdiff
path: root/ports/tensorflow-common/fix-linux-build.patch
diff options
context:
space:
mode:
authorJoachim Gehweiler <44170764+jgehw@users.noreply.github.com>2021-09-30 05:43:32 +0200
committerGitHub <noreply@github.com>2021-09-29 20:43:32 -0700
commit8ad33ead9075cd8d6d357e0b870ba8d501efe35c (patch)
treeab3a6b7785b5b34da890e0db63f50bbe60362bf6 /ports/tensorflow-common/fix-linux-build.patch
parentdd991ef5b82051cb7481a92c71dc5706325ba7c2 (diff)
downloadvcpkg-8ad33ead9075cd8d6d357e0b870ba8d501efe35c.tar.gz
vcpkg-8ad33ead9075cd8d6d357e0b870ba8d501efe35c.zip
[tensorflow] update to 2.6 (#20015)
* Revert "incorporate changes from microsoft:master" * Revert "Revert "incorporate changes from microsoft:master"" * WIP: update to tensorflow 2.6 * update patch * update more patches * fix patch again * fix new Windows compile/linkage errors * fix patch * fix patch again * temporarily revert Windows build option fix to test whether upstream fix doesn't work * check if constexpr is sufficient (is_same_v requires C++17) * try patch for build parameters * remove fastbuild patch and improve constexpr patch (no C++17 requirement) (fastbuild patch didn't work because bazel overrides it with /DEBUG:FULL) * x-add-version * add C++17 preprocessor switch for "if constexpr" * x-add-version * remove pre-processor switch (doesn't work without) * x-add-version * work-around toolchain issues on macOS * x-add-version * fix Windows build options (must be string, not list) * x-add-version * temporarily add code to debug CI * temporarily add more debug output as build doesn't even start on macOS CI * remove debug code, add switch for linker parameters on macOS and re-introduce old behaviour (some platforms still use old behaviour) * x-add-version * fix broken string termination * x-add-version * fix function name * x-add-version Co-authored-by: jgehw <Joachim_Gehweiler@McAfee.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/tensorflow-common/fix-linux-build.patch')
-rw-r--r--ports/tensorflow-common/fix-linux-build.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/ports/tensorflow-common/fix-linux-build.patch b/ports/tensorflow-common/fix-linux-build.patch
deleted file mode 100644
index e3eaca517..000000000
--- a/ports/tensorflow-common/fix-linux-build.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/tensorflow/core/kernels/data/experimental/snapshot_dataset_op.cc b/tensorflow/core/kernels/data/experimental/snapshot_dataset_op.cc
---- a/tensorflow/core/kernels/data/experimental/snapshot_dataset_op.cc
-+++ b/tensorflow/core/kernels/data/experimental/snapshot_dataset_op.cc
-@@ -72,6 +72,8 @@
- SnapshotDatasetV2Op::kReaderFuncTarguments;
- /* static */ constexpr const char* const
- SnapshotDatasetV2Op::kShardFuncTarguments;
-+/* static */ constexpr const char* const SnapshotDatasetV2Op::kReaderPrefix;
-+/* static */ constexpr const char* const SnapshotDatasetV2Op::kWriterPrefix;
- /* static */ constexpr const int SnapshotDatasetV2Op::kFileFormatVersion;
-
- // ==== Snapshot Implementation ====
-
-diff --git a/tensorflow/core/kernels/data/experimental/data_service_dataset_op.cc b/tensorflow/core/kernels/data/experimental/data_service_dataset_op.cc
---- a/tensorflow/core/kernels/data/experimental/data_service_dataset_op.cc
-+++ b/tensorflow/core/kernels/data/experimental/data_service_dataset_op.cc
-@@ -53,6 +53,8 @@
- /* static */ constexpr const char* const
- DataServiceDatasetOp::kMaxOutstandingRequests;
- /* static */ constexpr const char* const
-+ DataServiceDatasetOp::kTaskRefreshIntervalHintMs;
-+/* static */ constexpr const char* const
- DataServiceDatasetOp::kIterationCounter;
- /* static */ constexpr const char* const DataServiceDatasetOp::kOutputTypes;
- /* static */ constexpr const char* const DataServiceDatasetOp::kOutputShapes;