Skip to content

Commit

Permalink
brew install tensorflow for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaney committed Oct 11, 2024
1 parent bbc47c8 commit 552df1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ else
endif

setup:
if [ "$(UNAME_S)" = "Linux" ]; then \
sudo apt install -y vim libjpeg-dev pkg-config patchelf; \
fi
ifeq ($(MOD_OS),Darwin)
brew install tensorflowlite;
else ifeq ($(MOD_OS),Linux)
sudo apt install -y vim libjpeg-dev pkg-config patchelf;
endif

clean:
rm -rf tflite_cpu module.tar.gz
Expand Down

0 comments on commit 552df1b

Please sign in to comment.