From 4f8de82c8e5599af974f87693e4a904a9e392988 Mon Sep 17 00:00:00 2001 From: Nicola Ferralis Date: Wed, 18 Sep 2024 18:53:57 -0400 Subject: [PATCH] Updates Makefile for modern versions of Tensorflow Referred in https://github.com/google-coral/libedgetpu/issues/72 --- makefile_build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile_build/Makefile b/makefile_build/Makefile index ef7d290..20f740e 100644 --- a/makefile_build/Makefile +++ b/makefile_build/Makefile @@ -22,7 +22,7 @@ LIBEDGETPU_CFLAGS := \ LIBEDGETPU_CXXFLAGS := \ -fPIC \ -Wall \ - -std=c++14 \ + -std=c++17 \ -DDARWINN_PORT_DEFAULT LIBEDGETPU_LDFLAGS := \ @@ -59,7 +59,7 @@ LIBEDGETPU_INCLUDES := \ $(BUILDDIR)/$(BUILDROOT) LIBEDGETPU_INCLUDES := $(addprefix -I,$(LIBEDGETPU_INCLUDES)) -LIBEDGETPU_CSRCS := $(TFROOT)/tensorflow/lite/c/common.c +LIBEDGETPU_CSRCS := $(TFROOT)/tensorflow/lite/c/common_internal.cc LIBEDGETPU_COBJS := $(call TOBUILDDIR,$(patsubst %.c,%.o,$(LIBEDGETPU_CSRCS))) LIBEDGETPU_CCSRCS := \