File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ limitations under the License.
3434#define PLATFORM_POSIX_IOS
3535#define IS_MOBILE_PLATFORM
3636#else
37+ // If no platform specified, use:
3738#define PLATFORM_POSIX
3839#endif
3940
Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ cc_test(
385385 features = ["-dynamic_link_test_srcs" ], # see go/dynamic_link_test_srcs
386386 tags = [
387387 "tflite_not_portable_ios" , # TODO(b/117786830)
388+ "tflite_smoke_test" ,
388389 ],
389390 deps = [
390391 ":external_cpu_backend_context" ,
@@ -453,6 +454,7 @@ cc_test(
453454 ],
454455 tags = [
455456 "tflite_not_portable" ,
457+ "tflite_smoke_test" ,
456458 ],
457459 deps = [
458460 ":framework" ,
@@ -501,6 +503,7 @@ cc_test(
501503 "no_windows" , # No weak symbols with MSVC.
502504 "tflite_not_portable_android" ,
503505 "tflite_not_portable_ios" ,
506+ "tflite_smoke_test" ,
504507 ],
505508 deps = [
506509 ":framework" ,
@@ -567,6 +570,9 @@ cc_library(
567570 "//tensorflow:ios" : [
568571 "minimal_logging_ios.cc" ,
569572 ],
573+ "//tensorflow:macos" : [
574+ "minimal_logging_default.cc" ,
575+ ],
570576 "//conditions:default" : [
571577 "minimal_logging_default.cc" ,
572578 ],
Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ limitations under the License.
1818#include < stdint.h>
1919#include < stdio.h>
2020#include < stdlib.h>
21- #include < sys/mman.h>
22- #include < sys/stat.h>
23- #include < sys/types.h>
24-
2521#include < fstream>
2622#include < iostream>
2723
You can’t perform that action at this time.
0 commit comments