[Build] onnx-runtime/training-offloading from tizen 9.0
authorJaeyun Jung <jy1210.jung@samsung.com>
Thu, 2 May 2024 04:49:03 +0000 (13:49 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 2 May 2024 07:13:45 +0000 (16:13 +0900)
Update spec to enable ONNX runtime and training-offloading from Tizen 9.0.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
packaging/machine-learning-api.spec

index 31e437d..bc39e2b 100644 (file)
 %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