Commit Graph

28 Commits

Author SHA1 Message Date
Alyssa Ross
3a4f647269
pkgsMusl.liburing: fix build
Musl doesn't have ucontext.h.  Quoting getcontext(3):

> POSIX.1-2008 removes the specification of getcon‐ text(), citing
> portability issues, and recommending that applications be rewritten
> to use POSIX threads instead.

We should therefore regard ucontext as a GNUism, and only expect the
uncontext example to be build for Glibc.
2021-11-18 13:54:53 +00:00
Austin Seipp
f7cef10c90 liburing: 2.0 -> 2.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-09-09 13:52:15 -05:00
Ben Wolsieffer
261b8a48a1 liburing: fix build on 32-bit ARM
Apply an upstream patch to fix compiling some of the tests.
2021-04-23 16:07:46 -04:00
Austin Seipp
462d059909
liburing: 0.7 -> 2.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-03-10 08:59:39 -06:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Ben Wolsieffer
b70ab2350a liburing: fix cross-compilation 2020-10-26 20:33:43 -04:00
Doron Behar
ac5e22734c liburing: Fix references between outputs issue
Experienced in:
https://github.com/NixOS/nixpkgs/pull/98869#discussion_r495492213

Set configure flags properly, don't override configurePhase, per:
https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/explicit-phases.md

Use different output names - use $bin for examples, and $out for
libraries which expectedly should be referenced by reverse deps.
2020-10-01 19:00:31 +03:00
Austin Seipp
57a53677b4
liburing: 0.6pre600 -> 0.7
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-07-10 16:54:28 -05:00
Austin Seipp
7b235b02e4
liburing: 0.4pre514_2454d630 -> 0.6pre600
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-04-13 20:36:11 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Austin Seipp
c7c57b9f84
liburing: 0.2 -> 0.4pre514_2454d630
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-02-13 17:51:39 -06:00
c0bw3b
9367367dfd Treewide: fix URL permanent redirects
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01:00
Austin Seipp
fa4f091ac0
liburing: 0.2pre252_a9bb08db -> 0.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-10-28 13:00:54 -05:00
Austin Seipp
51efe6d9f0
liburing: 0.2pre246_08bd8151 -> 0.2pre252_a9bb08db
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-10-18 11:25:54 -05:00
Austin Seipp
2332cb7dbc
liburing: 0.1 -> 0.2pre246_08bd8151
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-10-17 16:47:12 -05:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Austin Seipp
6576162fe9 liburing: replace obsoleted patch with new upstream patch
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-08-20 09:42:18 -05:00
Austin Seipp
66f37f4a34 liburing: bump to 0.1 tag + some extra patches
Normally changing the version of the tag in this manner would be nasty
for users -- `nix-env -u` would not see this as an upgrade on the
channel, for instance, if you had a previous version installed. But
liburing is a *library* and does not really come included with any
useful end-user tools. Most cases will use it directly as a build
dependency, in which case, an appropriate rebuild will happen anyway.

This also re-introduces AArch64 builds, which was previously broken due
to some internal changes requiring memory barrier support. In a twist of
fate, however, this was later broken by another patch, which was written
to fix a *different* regression for users. So we simply apply both of
these patches, as well as a third patch that re-fixes AArch64 support,
which I will submit upstream to Jens. Life is never easy.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-08-20 08:50:11 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Austin Seipp
ad63a90de1 liburing: 1.0.0pre150_93f3e8d -> 1.0.0pre156_c31c7ec
Signed-off-by: Austin Seipp <as@fastly.com>
2019-07-26 16:27:13 -05:00
Austin Seipp
9d0cdc0b28
liburing: 1.0.0pre137_91dde5c9 -> 1.0.0pre150_93f3e8d5
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-07-14 11:25:53 -05:00
Austin Seipp
a1dd419c1f liburing: 1.0.0pre132 -> 1.0.0pre137
Signed-off-by: Austin Seipp <as@fastly.com>
2019-06-15 23:21:19 -05:00
Austin Seipp
7adcf79ccb
liburing: 1.0.0pre131_b422aa11cc -> 1.0.0pre132_f8865bc6
Fixes a symbol visibility bug. Also enables debug symbols for this
library.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-29 14:22:21 -05:00
Austin Seipp
63ff37f278
liburing: 1.0.0pre118_2e719820 -> 1.0.0pre131_b422aa11cc
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-28 21:43:42 -05:00
Austin Seipp
0ca30f22f1
liburing: 1.0.0pre116 -> 1.0.0pre118
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-23 14:32:18 -05:00
Austin Seipp
4fe57ed90b
liburing: 1.0.0pre92 -> 1.0.0pre116
Notably, this includes non-x86 platform support, eventfd registration
for completion events, "drained" events that must have all outstanding
prior events/further events drained (e.g. for fsync), and linked CQEs
that can express completion ordering dependencies.

Most of these require 5.2-rc1, and linked CQEs require custom patches
from Jens' linux-block tree (that didn't hit the 5.2 merge window,
apparently.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-21 10:38:39 -05:00
Austin Seipp
0d2b66dff2
liburing: bump, fix version (1.0.0pre92_7b989f3)
I accidentally got the number of commits wrong in the previous
prerelease version string. This is now fixed.

Generally, this would result in functions like builtins.compareVersions
to give incorrect results, so 'nix-env -u' doesn't work. But I'm
justifying it here, because: most people use it as a library, so the
hash change is all that matters. Plus, I only authored this a week or
so ago in upstream, so this change is fast enough that I think people
will be fine with it and can work around, especially since it's
unreleased in any stable channel.

This also bumps the library to the newest version, which contains some
bugfixes, and now installs the manpages into the $man output for us.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-02 19:32:05 -05:00
Austin Seipp
52714f495c
liburing: init at 1.0.0pre821_39e0ebd
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-22 11:18:18 -05:00