Skip to content

Conversation

dudoslav
Copy link
Contributor

@dudoslav dudoslav commented Oct 17, 2024

This PR reworks the build system in order to properly build and package TileDB-VCF for all platforms (Linux, MacOS) and all package managers (PyPI and Conda).

The main goals of this PR:

  • Divide build into TileDB-VCF and TileDB-VCF-Py
  • TileDB-VCF needs to build as shared object and as a static library
  • TileDB-VCF needs to internally link with shared libraries or static libraries (fmt, spdlog, cli11)
  • TileDB-VCF-Py needs to properly package for PyPI, currently statically linked wheel
  • TileDB-VCF-Py conda packaging logic, only build TileDB-VCF-Py and dynamically link to TileDB-VCF (that also uses shared libs)

Windows build and package does not work yet.

Copy link
Contributor

@gspowley gspowley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this @dudoslav. A couple of high level comments.

Please keep the Makefile in the root of the repo, which a convenience tool for developers as opposed to part of the build system.

Releasing the build system changes with pypi upload is more important than enabling windows support in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The new scikit-build-core setup copies external shared objects into Python wheel
4 participants