diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-04-05 17:06:56 +0100 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-04-11 13:27:31 +0100 |
commit | 8d00200d5aa2011bc91ccc688ee93caf5b6980f6 (patch) | |
tree | cfd80a2cc6d6772888c8aabf93d53329e0f92b01 /src/mlia/backend/tosa_checker/__init__.py | |
parent | c7c894ee0721b1076fcea25506d7b84772cc5704 (diff) | |
download | mlia-8d00200d5aa2011bc91ccc688ee93caf5b6980f6.tar.gz |
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
Diffstat (limited to 'src/mlia/backend/tosa_checker/__init__.py')
-rw-r--r-- | src/mlia/backend/tosa_checker/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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", ) |