From: Jaeyun Jung Date: Thu, 2 May 2024 04:49:03 +0000 (+0900) Subject: [Build] onnx-runtime/training-offloading from tizen 9.0 X-Git-Tag: accepted/tizen/7.0/unified/20240509.012446~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55ea8864c052d3a50d35d7928333905b8cd05c45;p=platform%2Fcore%2Fapi%2Fmachine-learning.git [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 --- 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