Samsung / ONE

On-device Neural Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[onert] Revise lib files install path

hseok-oh opened this issue · comments

What

Let's change backend, loader install path.

Why

Currently all runtime libraries except on-device compiler are installed in system libdir path.
Like on-device compiler libraries (installed in %{_libdir}/nnfw/odc), backends and loader are not called by API directly, so we can hide them under our own directory for maintenance.

Example

lib
├── libneuralnetworks.so
├── libnnfw-dev.so
├── libonert_core.so
└── nnfw
    ├── backend
    │   ├── libbackend_cpu.so
    │   ├── libbackend_ruy.so
    │   ├── libbackend_train.so
    │   ├── libbackend_trix.so
    │   └── libbackend_xnnpack.so
    ├── loader
    │   └── libtvn_loader.so
    └── odc
        ├── libloco.so
        ├── libluci_compute.so
        ├── libluci_env.so
        ├── libluci_export.so
        ├── libluci_import.so
        ├── libluci_lang.so
        ├── libluci_logex.so
        ├── libluci_log.so
        ├── libluci_partition.so
        ├── libluci_pass.so
        ├── libluci_plan.so
        ├── libluci_profile.so
        ├── libluci_service.so
        └── libonert_odc.so

Changed