From f4355f95c473d9267341272c371a50568426f975 Mon Sep 17 00:00:00 2001 From: Bijan Haney Date: Tue, 15 Oct 2024 16:50:35 -0400 Subject: [PATCH] use the appropriate so --- go/Makefile | 3 +++ go/meta.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go/Makefile b/go/Makefile index 6e2fa27..5d3d8ed 100644 --- a/go/Makefile +++ b/go/Makefile @@ -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 diff --git a/go/meta.json b/go/meta.json index 00b364a..b943aac 100644 --- a/go/meta.json +++ b/go/meta.json @@ -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": [