Skip to content

Commit

Permalink
use the appropriate so
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaney committed Oct 15, 2024
1 parent 3760aa8 commit f4355f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ else ifeq ($(MOD_ARCH),arm64)
endif
else ifeq ($(MOD_OS),Linux)
ifeq ($(MOD_ARCH),x86_64)
cp /usr/lib/libtensorflowlite_c.so tflitecpu/linux/amd64/
patchelf --set-rpath '$$ORIGIN/tflitecpu/linux/amd64' tflite_cpu
else ifeq ($(MOD_ARCH),arm64)
cp /usr/lib/libtensorflowlite_c.so tflitecpu/linux/arm64/
patchelf --set-rpath '$$ORIGIN/tflitecpu/linux/arm64' tflite_cpu
else ifeq ($(MOD_ARCH),aarch64)
cp /usr/lib/libtensorflowlite_c.so tflitecpu/linux/arm64/
patchelf --set-rpath '$$ORIGIN/tflitecpu/linux/arm64' tflite_cpu
endif
else
Expand Down
2 changes: 1 addition & 1 deletion go/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": "make module.tar.gz",
"arch": ["linux/amd64", "linux/arm64", "darwin/arm64"]
},
"visibility": "public",
"visibility": "private",
"url": "https://github.com/viam-modules/mlmodel-tflite",
"description": "An ML Model Service that is used to run tensorflowLite model files.",
"models": [
Expand Down

0 comments on commit f4355f9

Please sign in to comment.