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

hyperscan: replacing wrapper #475

Merged
merged 1 commit into from
Dec 5, 2022
Merged

hyperscan: replacing wrapper #475

merged 1 commit into from
Dec 5, 2022

Conversation

vlaci
Copy link
Contributor

@vlaci vlaci commented Nov 30, 2022

This new wrapper is written by me and comes with a statically linked vectorscan library. Extensive testing and a proper pypi release is needed before this can be merged.

Hopefully this can fix #415 and reduce friction endured during installation like in #467.
Also would help packaging for Nixpkgs (#424) and other distros, as dynamic linking to a system provided hyperscan library is also a possibility.

Currently the only dependency required is C++ runtime (libstdc++ and its mac counterpart) which is much easier to come by.

@vlaci
Copy link
Contributor Author

vlaci commented Nov 30, 2022

Nix issues are because poetry2nix not resolving dependencies from custom registry sources.

I'll publish the package on pypi, this will clear the remaining errors.

@qkaiser
Copy link
Contributor

qkaiser commented Dec 1, 2022

Works like a charm !

@vlaci vlaci marked this pull request as ready for review December 1, 2022 08:51
@qkaiser qkaiser self-requested a review December 1, 2022 22:25
@qkaiser
Copy link
Contributor

qkaiser commented Dec 5, 2022

Currently doing a bunch of tests on ARM based platforms.

@vlaci
Copy link
Contributor Author

vlaci commented Dec 5, 2022

I am planning to release aarch64 wheels also

Copy link
Contributor

@qkaiser qkaiser left a comment

Choose a reason for hiding this comment

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

Read through the pyperscan repo and this MR. I also checked that unblob tests passed on amd64 and aarch64 with this change.

@qkaiser
Copy link
Contributor

qkaiser commented Dec 5, 2022

Note: to fix #415 you'll need to publish wheels for aarch64 Linux and OSX.

@vlaci
Copy link
Contributor Author

vlaci commented Dec 5, 2022

Note: to fix #415 you'll need to publish wheels for aarch64 Linux and OSX.

I have wheels for OSX, only aarch64 linux wheels are missing.

@qkaiser qkaiser merged commit 4982c33 into main Dec 5, 2022
@qkaiser qkaiser deleted the pyperscan branch December 5, 2022 16:00
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.

Installation issues on MacOS/ARM64
2 participants