From 55ea8864c052d3a50d35d7928333905b8cd05c45 Mon Sep 17 00:00:00 2001 From: Jaeyun Jung Date: Thu, 2 May 2024 13:49:03 +0900 Subject: [PATCH] [Build] onnx-runtime/training-offloading from tizen 9.0 Update spec to enable ONNX runtime and training-offloading from Tizen 9.0. Signed-off-by: Jaeyun Jung --- packaging/machine-learning-api.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packaging/machine-learning-api.spec b/packaging/machine-learning-api.spec index 31e437d..bc39e2b 100644 --- a/packaging/machine-learning-api.spec +++ b/packaging/machine-learning-api.spec @@ -28,6 +28,13 @@ %define tensorflow2_gpu_delegate_support 0 %endif +# Enable a few features from Tizen 9.0 release. +%if 0%{tizen_version_major} < 9 +%define onnxruntime_support 0 +%define ncnn_support 0 +%define nntrainer_support 0 +%endif + %ifnarch %arm aarch64 x86_64 i586 i686 %ix86 %define nnfw_support 0 %endif -- 2.7.4