Port details on branch 2022Q2 |
- libdivide Fast prime counting function implementations
- 5.0_1 math =1 5.0_1Version of this port present on the latest quarterly branch.
- Maintainer: thierry@FreeBSD.org
- Port Added: 2021-11-28 17:57:04
- Last Update: 2023-07-21 08:03:10
- Commit Hash: 8bafc25
- People watching this port, also watch:: SparseBitSet, py39-cysignals, R-cran-eRm, python
- License: ZLIB BSL
- WWW:
- https://libdivide.com/
- Description:
- libdivide allows you to replace expensive integer divides with comparatively
cheap multiplication and bitshifts. Compilers usually do this, but only when the
divisor is known at compile time. libdivide allows you to take advantage of it
at runtime. The result is that integer division can become faster - a lot
faster.
Furthermore, libdivide allows you to divide SIMD vectors by runtime constants,
which is especially nice because SIMD typically lacks integer division.
See also: https://github.com/ridiculousfish/libdivide/
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- libdivide>0:math/libdivide
- To install the port:
- cd /usr/ports/math/libdivide/ && make install clean
- To add the package, run one of these commands:
- pkg install math/libdivide
- pkg install libdivide
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libdivide
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1638115355
SHA256 (ridiculousfish-libdivide-5.0_GH0.tar.gz) = 01ffdf90bc475e42170741d381eb9cfb631d9d7ddac7337368bcd80df8c98356
SIZE (ridiculousfish-libdivide-5.0_GH0.tar.gz) = 680611
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- This port is required by:
- for Build
-
- math/primecount
Configuration Options:
- ===> The following configuration options are available for libdivide-5.0_1:
NATIVE=off: Use native optimization (-march=native)
===> Use 'make config' to modify these settings
- Options name:
- math_libdivide
- USES:
- cmake compiler:c++11-lang
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|