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
rspamd: add hyperscan, drop obsoleted dependencies #49915
Conversation
@GrahamcOfBorg build rspamd |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: rspamd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: rspamd Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: rspamd Partial log (click to expand)
|
@Mic92 hyperscan build timed out. Probably we can set it |
@GrahamcOfBorg build rspamd |
What's the rationale to build rspamd with jemalloc? It does not seem to be the upstream default. (also: v1.8.2 is out) |
@c0bw3b build with jemalloc is author suggestion. Source package have very conservative defaults, to reduce build dependencies. Author himself build deb/rpm/freebsd packages with jemalloc (and hyperscan on x86_64). Hyperscan looks good on runtime, but take ~1.5 hours to build, so I move it to option. other suggestions taken in acocunt, will update PR today later or tomorrow |
Ok for building with jemalloc. Thanks for explaining. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few nits that are mostly about style not functionality. But mostly looks fine 👍
, boost | ||
}: | ||
|
||
assert stdenv.isx86_64; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this not be moved towards a platform restriction in the meta
attribute?
No problem for building hyperscan on x64-linux Result in /[...]/nox-review-_kylyhod
total 0
lrwxrwxrwx 1 zzzz users 56 23 nov. 21:23 result -> /nix/store/yn5rqbk5spf3s52khk76szjbk2b81134-rspamd-1.8.1
lrwxrwxrwx 1 zzzz users 59 23 nov. 21:23 result-2 -> /nix/store/d4m0im5a8dnh6gb2cqr6vlpnn59slnnm-hyperscan-5.0.0 |
pkgs/top-level/all-packages.nix
Outdated
@@ -3349,6 +3349,8 @@ with pkgs; | |||
|
|||
hylafaxplus = callPackage ../servers/hylafaxplus { }; | |||
|
|||
hyperscan = callPackage ../development/libraries/hyperscan { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be better located between hyena
and icu58
in the ### DEVELOPMENT / LIBRARIES
section.
(nitpick)
Probably going to timeout on x64-linux but I'd like to check aarch64 build so |
GD is experimental and never-enabled-by-default.
(by upstream author's suggestion)
Also update homepage link, and fetch from org's github, instead author's private fork.
On Sun, Dec 02, 2018 at 01:14:55PM -0800, Renaud wrote:
> @@ -3349,6 +3349,8 @@ with pkgs;
hylafaxplus = callPackage ../servers/hylafaxplus { };
+ hyperscan = callPackage ../development/libraries/hyperscan { };
This would be better located between `hyena` and `icu58` in the `### DEVELOPMENT / LIBRARIES` section.
(nitpick)
done.
And rebased on today's master
|
@GrahamcOfBorg build rspamd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebuilt locally on NixOS
Result in /[...]/nox-review-3hgirszu
total 0
lrwxrwxrwx 1 zzzz users 56 3 déc. 01:41 result -> /nix/store/xgmfcngzaqf7wv8hzpr5wg3fhp8j2csp-rspamd-1.8.2
lrwxrwxrwx 1 zzzz users 59 3 déc. 01:41 result-2 -> /nix/store/9bnflfbbkylhyg8s3vww5mw1fwjkllky-hyperscan-5.0.0
Motivation for this change
Add hyperscan support on x86_64 (and package hyperscan as well)
Drop obsoleted gmime dependency
Add options to enable fann/gd/openblas
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)