From 8d00200d5aa2011bc91ccc688ee93caf5b6980f6 Mon Sep 17 00:00:00 2001 From: Benjamin Klimczak Date: Wed, 5 Apr 2023 17:06:56 +0100 Subject: MLIA-825 Make backend installation more generic Use the backend registry to manage installation routines for different backends as well. This makes the process more generic and allows us to move towards plug & play for backends (i.e. there should be no code changes needed in the general MLIA code to add/support new backends). Change-Id: Ib7c772ec52b2f4d857c2c9871e44dfff97e9d970 --- src/mlia/backend/tosa_checker/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mlia/backend/tosa_checker/__init__.py') diff --git a/src/mlia/backend/tosa_checker/__init__.py b/src/mlia/backend/tosa_checker/__init__.py index d2364cb..08e44d4 100644 --- a/src/mlia/backend/tosa_checker/__init__.py +++ b/src/mlia/backend/tosa_checker/__init__.py @@ -5,6 +5,7 @@ from mlia.backend.config import BackendConfiguration from mlia.backend.config import BackendType from mlia.backend.config import System from mlia.backend.registry import registry +from mlia.backend.tosa_checker.install import get_tosa_backend_installation from mlia.core.common import AdviceCategory registry.register( @@ -13,6 +14,7 @@ registry.register( supported_advice=[AdviceCategory.COMPATIBILITY], supported_systems=[System.LINUX_AMD64], backend_type=BackendType.WHEEL, + installation=get_tosa_backend_installation(), ), pretty_name="TOSA Checker", ) -- cgit v1.2.1