Commit Graph
230002 Commits
Author SHA1 Message Date
Frederik Rietdijk 404fe35d65 Merge staging-next into staging 2020-05-14 09:37:03 +02:00
zowoq 1ad3b685f4 podman: switch to buildGoModule 2020-05-14 17:36:49 +10:00
zowoq aade6fc7b0 cni-plugins: switch to buildGoModule 2020-05-14 17:36:30 +10:00
Sascha Grunert 006e6b052f cri-o: switch to buildGoModule
This is just a cleanup to switch from buildGoPackage to buildGoModule.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-14 09:32:16 +02:00
Frederik Rietdijk 92a26320e7 Merge master into staging-next 2020-05-14 09:25:25 +02:00
Jörg Thalheim 1694c0b3f7 Merge pull request #86376 from c00w/vendor_mod 2020-05-14 08:25:01 +01:00
Enno Lohmeier c167fbb3ea obs-studio: use addOpenGLRunpath to enable nvenc 2020-05-14 08:48:36 +02:00
Hugo Reeves 81b7c9368c cargo-tarpaulin: init at 0.12.4 2020-05-14 18:41:49 +12:00
Linus Heckemann 85a0587884 Merge pull request #87219 from serokell/kirelagin/postgres-no-time
postgres: Do not log timestamp
2020-05-14 08:34:44 +02:00
Jörg Thalheim e6907df061 ipfs: switch to vendored tarball 2020-05-14 07:22:27 +01:00
Jörg Thalheim cdb8539006 jx: 2.1.31 -> 2.1.31 2020-05-14 07:22:26 +01:00
Colin L Rice d6162dab50 go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
Colin L Rice a0ddea1d6a go-modules: Add in old modsha256 w/ warning 2020-05-14 07:21:52 +01:00
Colin L Rice c5f18c44b1 go-modules: Doc updates 2020-05-14 07:21:52 +01:00
Colin L Rice 9761128d2d go-modules: Augment builds w/ vendor src
This is done in response to complaints that the module format is not
human readable. The vendor source blob is flat files and should be
extremely readable.
2020-05-14 07:21:49 +01:00
Sarah Brofeldt ce9ed9baed Merge pull request #87729 from Mic92/cheat
cheat: 3.9.0 -> 3.10.0
2020-05-14 06:53:34 +02:00
Sarah Brofeldt 4c2a228508 Merge pull request #87778 from zowoq/cni
cni-plugins: 0.8.5 -> 0.8.6
2020-05-14 06:52:35 +02:00
Dmitry Kalinkin 150a18f9b9 mu: fix on darwin 2020-05-14 00:30:31 -04:00
Greg Price 480c8d1991 cpython: Optimize dynamic symbol tables, for a 6% speedup.
I took a close look at how Debian builds the Python interpreter,
because I noticed it ran substantially faster than the one in nixpkgs
and I was curious why.

One thing that I found made a material difference in performance was
this pair of linker flags (passed to the compiler):

    -Wl,-O1 -Wl,-Bsymbolic-functions

In other words, effectively the linker gets passed the flags:

    -O1 -Bsymbolic-functions

Doing the same thing in nixpkgs turns out to make the interpreter
run about 6% faster, which is quite a big win for such an easy
change.  So, let's apply it.

---

I had not known there was a `-O1` flag for the *linker*!
But indeed there is.

These flags are unrelated to "link-time optimization" (LTO), despite
the latter's name.  LTO means doing classic compiler optimizations
on the actual code, at the linking step when it becomes possible to
do them with cross-object-file information.  These two flags, by
contrast, cause the linker to make certain optimizations within the
scope of its job as the linker.

Documentation is here, though sparse:
  https://sourceware.org/binutils/docs-2.31/ld/Options.html

The meaning of -O1 was explained in more detail in this LWN article:
  https://lwn.net/Articles/192624/
Apparently it makes the resulting symbol table use a bigger hash
table, so the load factor is smaller and lookups are faster.  Cool.

As for -Bsymbolic-functions, the documentation indicates that it's a
way of saving lookups through the symbol table entirely.  There can
apparently be situations where it changes the behavior of a program,
specifically if the program relies on linker tricks to provide
customization features:
  https://bugs.launchpad.net/ubuntu/+source/xfe/+bug/644645
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637184#35
But I'm pretty sure CPython doesn't permit that kind of trick: you
don't load a shared object that tries to redefine some symbol found
in the interpreter core.

The stronger reason I'm confident using -Bsymbolic-functions is
safe, though, is empirical.  Both Debian and Ubuntu have been
shipping a Python built this way since forever -- it was introduced
for the Python 2.4 and 2.5 in Ubuntu "hardy", and Debian "lenny",
released in 2008 and 2009.  In those 12 years they haven't seen a
need to drop this flag; and I've been unable to locate any reports
of trouble related to it, either on the Web in general or on the
Debian bug tracker.  (There are reports of a handful of other
programs breaking with it, but not Python/CPython.)  So that seems
like about as thorough testing as one could hope for.

---

As for the performance impact: I ran CPython upstream's preferred
benchmark suite, "pyperformance", in the same way as described in
the previous commit.  On top of that commit's change, the results
across the 60 benchmarks in the suite are:

The median is 6% faster.

The middle half (aka interquartile range) is from 4% to 8% faster.

Out of 60 benchmarks, 3 come out slower, by 1-4%.  At the other end,
5 are at least 10% faster, and one is 17% faster.

So, that's quite a material speedup!  I don't know how big the
effect of these flags is for other software; but certainly CPython
tends to do plenty of dynamic linking, as that's how it loads
extension modules, which are ubiquitous in the stdlib as well as
popular third-party libraries.  So perhaps that helps explain why
optimizing the dynamic linker has such an impact.
2020-05-13 21:24:30 -07:00
Greg Price 52c04b0347 cpython: Use autoreconfHook to rebuild configure script.
In particular this will let us use patches that apply to configure.ac.
2020-05-13 21:23:48 -07:00
Jeff SlightandRyan Mulligan fe07adef7f nixos/logrotate: add newline before extraConfig
Co-authored-by: Ryan Mulligan <ryan@ryantm.com>
2020-05-13 20:52:26 -07:00
Benjamin Hipple b87096c7fb Merge pull request #87781 from marsam/update-terraform
terraform: 0.12.24 -> 0.12.25
2020-05-13 23:22:35 -04:00
Benjamin Hipple 017d1e41bd Merge pull request #87776 from aanderse/zabbix-url
zabbix: update source url
2020-05-13 23:12:45 -04:00
Benjamin Hipple 767d9fec9d Merge pull request #87771 from Flakebi/salt
salt: 3000.2 -> 3000.3
2020-05-13 23:11:18 -04:00
Ryan Mulligan 6eae9e0861 Merge pull request #87519 from r-ryantm/auto-update/squirrel-sql
squirrel-sql: 4.0.0 -> 4.1.0
2020-05-13 19:14:48 -07:00
Mario Rodas 0b72a749ae terraform: 0.12.24 -> 0.12.25
Changelog: https://github.com/hashicorp/terraform/releases/tag/v0.12.25
2020-05-13 20:20:20 -05:00
Mario Rodas b03aaae436 Merge pull request #87763 from geistesk/golangci-lint-v1.27.0
golangci-lint: 1.26.0 -> 1.27.0
2020-05-13 19:57:22 -05:00
Mario Rodas 35de81b130 Merge pull request #87770 from thefloweringash/sensu-go-update
sensu-go: 5.18.1 -> 5.20.0
2020-05-13 19:57:06 -05:00
zowoq dcb013d85c cni-plugins: 0.8.5 -> 0.8.6
https://github.com/containernetworking/plugins/releases/tag/v0.8.6
2020-05-14 10:57:02 +10:00
Mario Rodas 51b5b54152 Merge pull request #87769 from zowoq/podman
podman: 1.9.1 -> 1.9.2
2020-05-13 19:48:50 -05:00
José Romildo Malaquias d56c2a0b24 balsa: 2.5.9 -> 2.6.1
Remove --with-gpgme as gpg is fixed build requirement now.
2020-05-13 21:46:27 -03:00
AndersonTorres 1c2c0b2eb8 lwm: init at 1.2.4
lwm is a lightweight window manager
2020-05-13 21:32:54 -03:00
AndersonTorres 43ce2a5219 berry: init at 0.1.5
berry is a small window manager for X11
2020-05-13 21:32:54 -03:00
AndersonTorres 6aeaa1019c yeahwm: init at 0.3.5
yeahwm is a small window manager for X11, inspired by evilwm
2020-05-13 21:32:54 -03:00
AndersonTorres 58a93ee62d smallwm: init at 2020-02-28 2020-05-13 21:32:54 -03:00
Aaron Andersen c85f02ca4e zabbix: update source url 2020-05-13 20:19:50 -04:00
zowoq 82e0e43284 podman: fix passthru.tests 2020-05-14 09:39:49 +10:00
zowoq 115b797a43 podman: 1.9.1 -> 1.9.2
https://github.com/containers/libpod/releases/tag/v1.9.2
2020-05-14 09:39:49 +10:00
Michael Raskin b2f83be34d Merge pull request #87546 from FireyFly/pkgs/j/avx-flag
j: add avxSupport option
2020-05-13 23:31:25 +00:00
Manuel Mendez a1e13f6140 go: stop setting GOPATH
The compiler does not need it anymore, has not needed it for many years
iirc. This just goes in and pollutes the environment overriding the
users GOPATH and causing grief.

Go even warns about it itself, without vs with this commit:

```sh
~> go env GOPATH
/home/manny/go
~> nix-shell -p go
~> go env GOPATH
warning: GOPATH set to GOROOT (/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go) has no effect
/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go
~> exit
~> nix-shell -I nixpkgs=cloned/NixOS/nixpkgs -p go
~> go env GOPATH
/home/manny/go
~> exit
```
2020-05-13 23:53:30 +01:00
Jonas Höglund 20235a89f8 j: add avxSupport option 2020-05-14 00:51:13 +02:00
R. RyanTM ee2922a4b4 sysstat: 12.3.1 -> 12.3.2 2020-05-13 15:39:50 -07:00
R. RyanTM 58d0719bdd wavpack: 5.2.0 -> 5.3.0 2020-05-13 15:39:37 -07:00
Andrew Childs f300fb8454 sensu-go: 5.18.1 -> 5.20.0 2020-05-14 06:49:36 +09:00
Flakebi a2f79c3834 salt: 3000.2 -> 3000.3 2020-05-13 23:45:02 +02:00
Andreas Rammhold 8ba41a1e14 Merge pull request #87708 from aszlig/firefox-nss-3.52-fix
firefox: Add patch to fix AES GCM IV bit size
2020-05-13 23:21:04 +02:00
José Romildo Malaquias 7172181c3d balsa: sort dependence list 2020-05-13 18:17:28 -03:00
José Romildo Malaquias 717656fd03 balsa: format with nixpkgs-fmt 2020-05-13 18:13:35 -03:00
Jeff Slight 90ce7f508a nixos/logrotate: add options for basic paths 2020-05-13 13:44:58 -07:00
Kirill ElaginandMario Rodas 084bd32bad postgresql: Fix formatting in option description
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2020-05-13 23:33:08 +03:00