SMHasher is a test suite designed to test the distribution, collision,
and performance properties of non-cryptographic hash functions - it
aims to be the "DieHarder" of hash testing, and does a pretty good job
of finding flaws with a number of popular hashes.
benchmarks: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
* Andreas Kohn <andreas@syndrom23.de>
* Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
* Andrey Zakhvatov <andy@FreeBSD.org>
* Andy Clark <andrewclarkii@gmail.com>
* Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
* Bill Fumerola <billf@chc-chimes.com>
* Brad Davis <brd@FreeBSD.org>
* Bruce A. Mah <bmah@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
benchmarks/smhasher: fix build on powerpc64
Inclusion of sys/endian.h and macros for bswap_32 and bswap_64 are necessary.
Other platforms do the same.
PR: 242323
Approved by: gnn (maintainer), mentors (implicit approval)
Differential Revision: https://github.com/gvnn3/smhasher/pull/33
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.
Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.
empty() is used rather than (!defined || !${}) to support fmake.
The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.
PR: 199069
With hat: portmgr
Testing done: All USE_GITHUB ports without GH_COMMIT were
checksum/fetch/extract/WRKSRC tested.
Add SMHasher hashing benchmark and test system as a new port.
SMHasher is a test suite designed to test the distribution, collision,
and performance properties of non-cryptographic hash functions -
it aims to be the "DieHarder" of hash testing, and does a pretty
good job of finding flaws with a number of popular hashes.
The SMHasher suite also includes MurmurHash3, which is the latest
version in the series of MurmurHash functions - the new version is
faster, more robust, and its variants can produce 32- and 128-bit
hash values efficiently on both x86 and x64 platforms.
https://code.google.com/p/smhasher/