Skip to content

Change RID of OpenCvSharp4.runtime.linux-arm to linux-arm64 #1870

Description

@hjtroteclaser

Hi.
Newest OpenCV version is 64 bit only, also Arm is 64 bit.
When using nugets for linux-arm build the suggested RID is 'linux-arm64' and all other nugets i use and know use this runtime identifier.
But when also using 'OpenCvSharp4.runtime.linux-arm' nuget, runtimes are not copied, because of different runtime in nuget.

I suggest to change the RID/runtime of 'linux-arm' to 'linux-arm64' as it is also with 'linux-x64'.
This includes

  • the nuget name/id
  • nuget runtime path 'runtimes/linux-arm/native/' to 'runtimes/linux-arm64/native/'.

The build and tests run already with -r linux-arm64.

The minimum would be changing or duplicating the runtime path in nuget to 'runtimes/linux-arm64/native/'.

some rid graph

linux-arm64     linux-x64
     |     \   /     |
     |     linux     |
     |       |       |
unix-arm64   |    unix-x64
         \   |   /
           unix
             |
            any

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed defect in OpenCvSharp

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions