7c331ad58b
GitOrigin-RevId: 6e4aff1cc351be3ae4537b677f36d139ee50ce09
25 lines
831 B
Diff
25 lines
831 B
Diff
diff --git a/tensorflow/lite/delegates/gpu/BUILD b/tensorflow/lite/delegates/gpu/BUILD
|
|
index 069230ebcf6..3924d7cced7 100644
|
|
--- a/tensorflow/lite/delegates/gpu/BUILD
|
|
+++ b/tensorflow/lite/delegates/gpu/BUILD
|
|
@@ -83,6 +83,7 @@ objc_library(
|
|
hdrs = ["metal_delegate.h"],
|
|
module_name = "TensorFlowLiteCMetal",
|
|
sdk_frameworks = ["Metal"],
|
|
+ copts = ["-std=c++17"],
|
|
deps = [
|
|
"//tensorflow/lite:kernel_api",
|
|
"//tensorflow/lite:minimal_logging",
|
|
diff --git a/tensorflow/lite/delegates/gpu/metal/BUILD b/tensorflow/lite/delegates/gpu/metal/BUILD
|
|
index 6dcde34a62f..1adfc28aad9 100644
|
|
--- a/tensorflow/lite/delegates/gpu/metal/BUILD
|
|
+++ b/tensorflow/lite/delegates/gpu/metal/BUILD
|
|
@@ -17,6 +17,7 @@ package(
|
|
|
|
DEFAULT_COPTS = [
|
|
"-Wno-shorten-64-to-32",
|
|
+ "-std=c++17",
|
|
]
|
|
|
|
objc_library(
|