Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
schmonz 365129eae1 Update to 20180729. From the changelog:
Algorithm

Rewrite of the core int32/avx2 implementation for (1) higher speed and
(2) reduced memory consumption. Stack allocation is now at most a few
kilobytes, even for gigantic arrays.

Internally, the sorting algorithm is now mostly bitonic to simplify
indexing, although odd-even speedups are still applied when
convenient. Lanes are complemented to take the down-up decision out of
the inner loops.

As in previous djbsort versions, data is sorted first in vector lanes
and then transposed for final merges, reducing the overall number of
vector permutations. Unlike previous versions, transposition is done
in-place. The transposition in this version is bit-reversal on the outer
6 bits (bottom 3 bits and the top 3 bits), but leaves intermediate bits
alone. Non-power-of-2 array sizes are handled by an extra, more
traditional, merge step.

Sizes 2, 3, 4, 5, 6, 7, 8, 16, 32 are now special-cased. Non-power-of-2
sizes below 256 are padded to the next power of 2.

Portable implementations: The out-of-place int32/portable1 and
int32/portable2 implementations are now gone; the in-place
int32/portable3 and int32/portable4 implementations remain.

C API

float32_sort is now supported. The arithmetic in the reduction from
float32 to int32 is int32 31-bit right shift, uint32 1-bit right shift,
xor; this is slightly more efficient than the reduction from float32 to
uint32 from 2001 Herf.

Compiling

Tests now have more variation (without much slowdown): the uint32 test
cases now deviate from int32 in more than the sign; float32 uses
floating-point numbers that aren't integers; int32 does more loops for
small cases, and some larger cases.

Internals

API for 2-input sorting is now MINMAX macro operating on two
inputs in place.

Better inline assembly from Jason Donenfeld for 2-input sorting: more
flexibility in compiler's register allocation.

The package version number is now automatically copied to version.c as
the implementation version number for implementations that don't provide
version.c.

Verification

minmax now supports more peephole optimizations for complemented bitonic
sorting and for padding: xor(s,xor(s,t)) ⇒ t; xor(-1,s) ⇒ invert(s);
Reverse(Reverse(s)) ⇒ s; signedmin(invert(s),invert(t)) ⇒
invert(signedmax(s,t)); signedmax(invert(s),invert(t)) ⇒
invert(signedmin(s,t)); invert(s)[high:low] ⇒ invert(s[high:low]);
s[bits-1:0] ⇒ s; s[high:low][high2:low2] ⇒ s[high2+low:low2+low];
Concat(...)[high:low] ⇒ ...[high-pos:low-pos] when possible;
Reverse(s)[high:low] ⇒ Reverse(s[...]) when possible; eliminate
signedmin/signedmax when one input is the minimum or maximum constant.

verifymany now includes the implementation version number on
verified lines.
2018-07-31 06:34:11 +00:00
archivers libmspack: update to 0.7alpha. 2018-07-26 08:37:40 +00:00
audio ocp: Ensure pkgsrc libraries can be found. 2018-07-26 14:11:36 +00:00
benchmarks dnsperf: Add a bunch of required includes. 2018-07-26 14:34:07 +00:00
biology Add trimmomatic 2018-07-25 15:15:50 +00:00
bootstrap Document cleaning up with ./cleanup. 2018-07-07 13:18:29 +00:00
cad Upgrade to QCAD 3.21.2.3, with changes: 2018-07-27 14:12:41 +00:00
chat chat: Add toxcore. 2018-07-30 18:59:50 +00:00
comms Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
converters libqxp: Requires zlib. 2018-07-26 12:45:25 +00:00
cross Update to 8.2.0 2018-07-30 19:45:58 +00:00
databases mongo-c-driver: Remove bogus _XOPEN_SOURCE on SunOS. 2018-07-30 12:48:48 +00:00
devel libdbusmenu-qt5: SunOS also ships moc_predefs.h 2018-07-30 15:29:16 +00:00
distfiles
doc doc: Updated math/djbsort to 20180717nb1 2018-07-31 05:39:26 +00:00
editors Added de and da locales 2018-07-28 08:29:02 +00:00
emulators mame: update to 0.200. 2018-07-25 14:05:53 +00:00
filesystems Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
finance Remove MASTER_SITES= from individual R package Makefiles. 2018-07-28 14:40:42 +00:00
fonts Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
games wesnoth: updated to 1.14.4 2018-07-26 10:19:56 +00:00
geography Remove MASTER_SITES= from individual R package Makefiles. 2018-07-28 14:40:42 +00:00
graphics Remove MASTER_SITES= from individual R package Makefiles. 2018-07-28 14:40:42 +00:00
ham ham/predict: fix MASTER_SITES 2018-07-21 23:21:17 +00:00
inputmethod Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
lang move --disable-gcc-global-regs to Makefile.php. 2018-07-31 01:17:56 +00:00
licenses Remove folkloric licenses for mail/fetchmail. 2018-05-22 07:47:19 +00:00
mail Update to 52.9.1 2018-07-30 19:53:07 +00:00
math Update to 20180729. From the changelog: 2018-07-31 06:34:11 +00:00
mbone Mark packages that require C++03 (or the GNU variants) if they fail with 2018-07-18 00:06:10 +00:00
meta-pkgs Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
misc Remove MASTER_SITES= from individual R package Makefiles. 2018-07-28 14:40:42 +00:00
mk Add description for psl option. 2018-07-28 11:22:41 +00:00
multimedia mpv: Update multimedia/mpv to 0.29.0 2018-07-25 14:19:16 +00:00
net Add 'inet6' option to control dependency on ucspi-tcp{6,}, even 2018-07-29 23:59:26 +00:00
news Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
packages
parallel *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
pkgtools pkgtools/pkglint: hotfix for release 5.5.15 2018-07-28 20:44:45 +00:00
print Remove MASTER_SITES= from individual R package Makefiles. 2018-07-28 14:40:42 +00:00
regress Fixed pkglint warnings. 2016-06-11 11:36:14 +00:00
security Rename 'async' parameter (Python 3.7 keyword). 2018-07-29 10:04:00 +00:00
shells Mark packages that require C++03 (or the GNU variants) if they fail with 2018-07-18 00:06:10 +00:00
sysutils Add 'inet6' option to control dependency on ucspi-tcp{6,}. Bump version. 2018-07-30 00:02:39 +00:00
templates Point at the HTML pkgsrc guide, not a plain-text human redirect. 2017-02-04 03:47:47 +00:00
textproc textproc/py-colored: use egg.mk. 2018-07-29 13:45:22 +00:00
time Remove MASTER_SITES= from individual R package Makefiles. 2018-07-28 14:40:42 +00:00
wm Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
www Enable JIT for ARM64. 2018-07-30 12:23:11 +00:00
x11 qt5-qtdeclarative: Limit C11 _Static_assert to C code. 2018-07-30 15:24:45 +00:00
Makefile
pkglocate
README Make top dir README a little more helpful. 2017-03-02 09:51:35 +00:00

$NetBSD: README,v 1.19 2017/03/02 09:51:35 maya Exp $

pkgsrc is a framework for building software on UNIX-like systems.

To use, bootstrap using:
% cd pkgsrc/bootstrap/
% ./bootstrap

build packages, use:
% cd pkgsrc/category/package-name
% $PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

Bugs and patches can be filed in the follow link (use category 'pkg'):
https://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd

To fetch the main CVS repository:
% cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

It's also possible to contribute through pkgsrc wip (work in progress), for
more information, see http://pkgsrc.org/wip/users/

Please see doc/pkgsrc.txt for information.