Skip to content

[Feature request] Allow linking a single non-versioned shared object #4468

Closed
@mattip

Description

@mattip

Over a few PRs to MacPython/openblas-libs, I changed the end result to be a Python wheel. This required packaging a single shared object with no symbolic links. I needed to

  • use a prefix so the shared object is unique and can be globally loaded along side a different OpenBLAS build
  • changed the Makefiles to allow building a single shared object, with no versioning and no symlinks
  • changed the pkg-config file to reflect this

Here is the patch to OpenBLAS 0.3.26 to remove all the symlinking and versioning. Note the prefixing requires this line and this change in order to support prefixes in the pkg-config file. The rest of the patch is "just" removing things.

Would you be open to merging these changes, toggled with a build option, to reduce openblas-lib's maintenance burden?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions