-
Notifications
You must be signed in to change notification settings - Fork 181
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
Intend to package highwayhash for Debian #51
Comments
The pre-upload package seems to be in a good shape: http://debomatic-amd64.debian.net/distribution#experimental/highwayhash/0~20170419-g1f4a24f-1/buildlog |
Interesting, the link text works but the tilde seems to have some encoding issue in the "href" (when clicked directly). Looks like the build succeeded, thumbs up! I'm unfamiliar with debian packaging - can you briefly explain the implications and/or any changes you need for that? |
I'll briefly explain how the current preliminary packaging works. And the final package to be uploaded may be different from the current one. First let's take a look at the patch stack
I didn't look into the code carefully, and there must be a better way instead of just dropping that object file. |
@jan-wassenberg Some questions:
The package is nearly ready to be uploaded, as said by a reviewer from the Debian community. (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860804#24 ). However it failed to build on all architectures other than amd64. According to Makefile [1], it seems that the fix should be exporting
Your answer will help me to make the package better. Thanks in advance. P.S. Many thanks to the package reviewer Adam Borowski ! [1] https://github.com/google/highwayhash/blob/master/Makefile#L1 |
The package was uploaded to Debian experimental. Closing this issue. |
highwayhash fails to build on many architectures, I'll report this issue in detail soon. |
@cdluminate , thank you for explaining! Also great discussion in the debian thread, thanks for linking. It makes sense to remove/not distribute sip_tree_hash, that's superceded by HighwayHash anyway.
Yes. FYI I am quite unfamiliar with the latter two archs, and can only confirm that example and highwayhash_test compile and run on those platforms given the config here.
We can't build 32-bit anymore without some workarounds, but I am willing to incorporate patches if anyone needs 32-bit. In particular, _mm_cvtsi64_si128 is x64-only. Some of those (especially in Rotate32By) can be replaced with _mm_cvtsi32_si128, or perhaps _mm_cvtsi64x_si128 is available.
After a patch from IBM, sip_hash seems to work fine on BE as well, but the others were only verified on LE. I'd be happy to incorporate further patches but have only tested on LE.
Please do. I imagine os_specific raises |
All build logs can be found in this page: https://buildd.debian.org/status/package.php?p=highwayhash&suite=experimental (click Build-attempted to view the buildlog, if you feel confused where it is) A brief overview: amd64: ok
|
Highwayhash is a tensorflow dependency. I'm working on the packaging, and I think the package can be uploaded soon as long as I import the latest version of highwayhash.
Preliminary packaging is available at a temporary packaging repository [1].
[1] https://github.com/cdluminate/debian-highwayhash
The text was updated successfully, but these errors were encountered: