Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including blosc2 shared libs in tables wheels #978

Open
FrancescAlted opened this issue Dec 9, 2022 · 3 comments
Open

Including blosc2 shared libs in tables wheels #978

FrancescAlted opened this issue Dec 9, 2022 · 3 comments

Comments

@FrancescAlted
Copy link
Member

After my (failed) attempts to include the blosc2 shared libraries in the wheels (see latest commits in master), I am wondering if somebody more knowledgeable than me could give me a hand.

Locally, the tables package works well as the Blosc2 libraries are copied to tables directory, but including them inside wheels is a whole another story. Anyone @avalentino @matham ?

@FrancescAlted FrancescAlted changed the title Linking with blosc2 shared libs Including blosc2 shared libs in tables wheels Dec 9, 2022
@avalentino
Copy link
Member

Sorry, I'm not an expert in this field.
In principle cibuildwheel, among other things, should address all the stuff related to shared libraries, but apparently it is not the case.
I will try to investigate.

@matham
Copy link
Contributor

matham commented Dec 11, 2022

I'll take a look when I get a chance. I'm not familiar with blosc in pytables, is there a simple way to test whether blosc2 is working properly? Would tb.which_lib_version("blosc2") do the trick?

@FrancescAlted
Copy link
Member Author

Thanks @matham . Yes, tb.which_lib_version() should do the trick. FWIW, I have been able to correctly fixing wheels by copying blosc2 shared libs to /tmp/hdf5/lib. Agreed, this is kind of a hack, but at least it works! Now I am trying to fix the loose ends in CI.

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

No branches or pull requests

3 participants