notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
libdivide Fast prime counting function implementations
5.0_1 math on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.0_1Version of this port present on the latest quarterly branch.
Maintainer: thierry@FreeBSD.org search for ports maintained by this maintainer
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:: wa-aspell, medit, ittapi, php81-pear, apache-log4j2
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/
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (7 items)
Collapse this list.
  1. include/libdivide.h
  2. lib/cmake/libdivide/libdivideConfig.cmake
  3. lib/cmake/libdivide/libdivideConfigVersion.cmake
  4. /usr/local/share/licenses/libdivide-5.0_1/catalog.mk
  5. /usr/local/share/licenses/libdivide-5.0_1/LICENSE
  6. /usr/local/share/licenses/libdivide-5.0_1/ZLIB
  7. /usr/local/share/licenses/libdivide-5.0_1/BSL
Collapse this list.
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):
libdivide
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.0_15.0_1-5.0_15.0_1---
FreeBSD:13:quarterly5.0_15.0_15.0_15.0_15.0_15.0_15.0_15.0_1
FreeBSD:14:latest5.0_15.0_15.05.0_15.0_15.0-5.0
FreeBSD:14:quarterly5.0_15.0_1-5.0_15.0_15.0_15.0_15.0_1
FreeBSD:15:latest5.0_15.0_1n/a5.0_1n/a5.0_15.0_15.0_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by:
for Build
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ridiculousfish/libdivide/tar.gz/5.0?dummy=/
Collapse this list.

Number of commits found: 7

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0_1
21 Jul 2023 08:03:10
commit hash: 8bafc25ae4f48be3af984c4be1b9cd0d7a181350commit hash: 8bafc25ae4f48be3af984c4be1b9cd0d7a181350commit hash: 8bafc25ae4f48be3af984c4be1b9cd0d7a181350commit hash: 8bafc25ae4f48be3af984c4be1b9cd0d7a181350 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
math/libdivide: Add NATIVE option

PR:		272497
Approved by:	thierry@ (maintainer)
5.0
07 Mar 2023 16:27:47
commit hash: caa09c9ef54097f69e68659c834b59b140954f84commit hash: caa09c9ef54097f69e68659c834b59b140954f84commit hash: caa09c9ef54097f69e68659c834b59b140954f84commit hash: caa09c9ef54097f69e68659c834b59b140954f84 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
math/libdivide: remove -Werror

With clang 15, a deprecation warning is emitted in a test file, and this
makes the compilation fail:

a function declaration without a prototype is deprecated in all versions of C
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
5.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.0
27 Aug 2022 14:40:55
commit hash: fbab55b27f97ce1d6cf067a1583b28716f2e127ccommit hash: fbab55b27f97ce1d6cf067a1583b28716f2e127ccommit hash: fbab55b27f97ce1d6cf067a1583b28716f2e127ccommit hash: fbab55b27f97ce1d6cf067a1583b28716f2e127c files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
Author: Robert Clausecker
math/libdivide: fix build on armv6/armv7

The NEON code included in this library is for arm64 only.
Disable use of NEON on armv6/armv7.

See <https://github.com/ridiculousfish/libdivide/issues/102>.

PR:		265870
Reported by:	fuz (at) fuz.su
5.0
20 Jul 2022 14:22:24
commit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5da files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
math: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Alessando Sagratini <ale_sagra@hotmail.com>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Amarendra Godbole <amarendra.godbole@gmail.com>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Fehlner (fehlner@gmx.de)
  *  Andrew L. Neporada <andrew@chg.ru>
  *  Andrey <gugu@zoo.rambler.ru>
  *  Andrey Zakhvatov
(Only the first 15 lines of the commit message are shown above View all of this commit message)
5.0
28 Nov 2021 17:55:56
commit hash: 55a132b6f601f15bf932a9516aeddc3385689991commit hash: 55a132b6f601f15bf932a9516aeddc3385689991commit hash: 55a132b6f601f15bf932a9516aeddc3385689991commit hash: 55a132b6f601f15bf932a9516aeddc3385689991 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
math/libdivide: adding a library for optimized integer division

To be used by math/primecount.

Number of commits found: 7