3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4715 commits

Author SHA1 Message Date
Luka Blaskovic 8baffaecac luajit_2_0: 2.0.5-2020-08-09 -> 2.0.5-2020-09-27 2020-10-01 04:40:19 +00:00
WORLDofPEACE 3451caf60b
Merge pull request #99008 from mkg20001/cjs-upgrade
Cjs upgrade
2020-09-30 14:30:56 -04:00
Doron Behar e1773ee0bb
Merge pull request #98977 from stigtsp/package/rakudo-2020.09 2020-09-30 11:13:20 +03:00
Jan Tojnar 32b4375f10
Merge branch 'staging-next' into staging 2020-09-29 00:12:29 +02:00
Doron Behar 1d45990efb
spidermonkey_78: init at 78.1.0
* format

Co-authored-by: WORLDofPEACE <worldofpeace@protonmail.ch>
2020-09-28 15:08:23 +02:00
Stig Palmquist 6c44133fac
perldevel: 5.33.1 -> 5.33.2
dependencies:
perl-cross: 15ca5359f99698ef0a199bc307b7956c08907abc -> f59d2b6a179760230d925550db78b93c410433e4
2020-09-28 02:11:03 +02:00
Stig Palmquist ac60d134ed
rakudo: 2020.08.2 -> 2020.09 2020-09-28 01:33:12 +02:00
Stig Palmquist a770277640
nqp: 2020.08.2 -> 2020.09 2020-09-28 01:32:43 +02:00
Stig Palmquist e31d6d1fab
moarvm: 2020.08 -> 2020.09 2020-09-28 01:32:18 +02:00
Stig P 3e2cf215f7
Merge pull request #98468 from stigtsp/package/micropython-1.13
micropython: 1.12 -> 1.13
2020-09-27 19:25:11 +00:00
Frederik Rietdijk 7c411b3729 python38: 3.8.5 -> 3.8.6 2020-09-27 13:07:49 +02:00
Frederik Rietdijk 74f3e9cce1 python39: 3.9.0rc1 -> 3.9.0rc2 2020-09-27 11:48:00 +02:00
Jörg Thalheim 7011d448ec
Merge pull request #98693 from fzakaria/jruby-shebang-fix
Fix shebang for binaries in JRuby
2020-09-25 10:05:05 +02:00
Graham Bennett 3a5bcb313e octave: use qt-5 mkDerivation for wrapQtAppsHook
This is to ensure QT_QPA_PLATFORM_PLUGIN_PATH is set on Darwin.
2020-09-25 09:57:25 +03:00
Farid Zakaria 8da7bd63ca jruby: fix shebang for binaries in JRuby
There are a variety of additional scripts that are included with the
JRuby installation that use JRuby itself.

For instance the `bin/gem` had the following contents:

```bash
❯ cat /nix/store/kglkqf56ii83yl6yrgcaj5r3s9m2fzr0-jruby-9.2.13.0/bin/gem

load File.join(File.dirname(__FILE__), 'jgem')
```

This is clearly wrong. Patchshebangs was not picking up the fix as part
of stdenv because the patch is not a build input but the final output
itself.

We have to rely on substituteInPlace so that we get the correct version.

```bash
❯ cat /nix/store/k4fnrn0dcsh2wzw81217r0ywsspb468f-jruby-9.2.13.0/bin/gem

```
2020-09-24 17:57:17 -07:00
zimbatm cc9b34a56b
Merge pull request #98649 from cw789/elixir_cleanup
elixir_1_6: remove
2020-09-24 22:00:03 +00:00
Vladyslav M 0a3987a63f
janet: 1.10.1 -> 1.12.2 (#98679) 2020-09-24 21:41:07 +00:00
Jan Tojnar d471c5d1f3
Merge branch 'staging-next' into staging 2020-09-24 23:09:00 +02:00
cw 3c379af10b elixir_1_6: remove
Additionally removed the now obsolete rebar build dependency for elixir.
2020-09-24 15:14:52 +02:00
Johannes Rosenberger 7abb57c7b5 fix passing qt5 version to pythonInterpreters
fixes c88f3adb17, which resulted in
qt 5.15 being used in pythonPackages, despite 5.14 being
declared, and adapts qutebrowser accordingly.

'callPackage { pkgs = pkgs // { … }; }' does not work, because
it does not take into account the recursive evaluation of nixpkgs:

`pkgs/development/interpreters/python/default.nix` calls
`pkgs/top-level/python-packages.nix` with `callPackage`.
Thus, even if the former gets passed the updated `pkgs`,
the latter always gets passed `pkgs.pkgs`.

For the change in the qt5 version to apply consistently, 'pkgs.extend'
must be used.

qutebrowser only used the right qt5 version (5.15) because all
pythonPackages used it anyway.
2020-09-22 21:03:43 +02:00
Stig Palmquist a2dd66b087
micropython: 1.12 -> 1.13 2020-09-22 15:37:42 +02:00
Stig Palmquist e2926577a1
perl-cross: fix . being included in INC
perl-cross set `default_inc_excludes_dot` to undefined by default. This
sets `-Ddefault_inc_excludes_dot` explicitly when cross compiling.
2020-09-22 14:35:46 +02:00
WORLDofPEACE 34aaac6d7c Merge branch 'staging-next' into staging 2020-09-20 18:41:15 -04:00
Gabriel Ebner ef4cbbabd1 clojure: use latest jdk 2020-09-20 11:32:06 +02:00
Gabriel Ebner db0d3d8d36 erlang: use openjdk8 2020-09-19 14:34:49 +02:00
Thiago Kenji Okada a323331e6a dart: Fix dart2native by patching all ELFs
Before:

   $ /nix/store/ihlzjcxahcack6chfzphb74bkccmq6br-dart-2.7.2/bin/dart2native hello.dart
   Failed to generate native files:
   ProcessException: No such file or directory
     Command: /nix/store/ihlzjcxahcack6chfzphb74bkccmq6br-dart-2.7.2/bin/utils/gen_snapshot --snapshot-kind=app-aot-elf --elf=/tmp/HSHJQU/snapshot.aot /tmp/HSHJQU/kernel.dill

After:
   $ /nix/store/czw7kpdmcqa76a9j00v2pjygrq7gy4c7-dart-2.7.2/bin/dart2native hello.dart
   Generated: /home/thiagoko/hello.exe

   $ ./hello.exe
   Hello, World!
2020-09-17 15:33:17 -03:00
Drew Risinger 60df61b67e mk-python-derivation: document pyproject format
Optional setting of format == "pyproject", "egg" had been documented
in the manual, but they weren't listed in the function header for
``mk-python-derivation.nix``.
2020-09-16 17:38:41 +02:00
Stig P 0a5be167a3
Merge pull request #97098 from volth/cpan2nix-2020-09-04
perlPackages: bulk update
2020-09-14 10:33:20 +00:00
Luflosi fbefec0d3e j: fix build on darwin
On darwin the compilation would fail with the following warning:
```
clang-7: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
```
This error happens because the `-fno-strict-overflow` is passed to the compiler. To fix this, disable the `strictoverflow` hardening feature. Also see #39687.

ZHF: #97479
2020-09-09 15:09:26 -07:00
volth 4faa3e3dcd perl: remove obsolete patch 2020-09-09 09:08:48 +00:00
WORLDofPEACE f764549bc8
Merge pull request #96668 from NobbZ/erlang-config-flags
erlang: make `configureFlags` appending instead of overwriting
2020-09-08 19:41:17 -04:00
Mario Rodas ee222ce046
Merge pull request #88915 from bsima/shen
shen-sbcl: init at 3.0.3
2020-09-07 21:34:07 -05:00
Frederik Rietdijk af81d39b87 Merge staging-next into staging 2020-09-04 20:03:30 +02:00
Jonathan Ringer 762434fb02 python39: 3.9.0b5 -> 3.9.0rc1 2020-09-03 23:36:28 -07:00
V f6f3baff2a icon-lang: 9.5.1 -> 9.5.20i 2020-09-04 07:19:32 +02:00
Frederik Rietdijk 377242d587 Merge staging-next into staging 2020-09-03 19:21:10 +02:00
Michael Raskin 742c7340d2
Merge pull request #96494 from jitwit/j
j: j901e -> j901f
2020-09-03 05:22:07 +00:00
John Ericson 1965a241fc
Merge pull request #61019 from volth/gcc.arch-amd
platform.gcc.arch: support for AMD CPUs
2020-09-01 22:31:16 -04:00
Frederik Rietdijk e29c1e42e0 Merge staging-next into staging 2020-08-31 19:46:33 +02:00
Vladimír Čunát 0e58393738
luajit*: update to address CVE-2020-24372
/cc roundup issues: #96821, #96828.

The diff upstream is fairly small, so let me trust Mike Pall on this.
Both versions get a pair of commits that seem to address the CVE
https://github.com/LuaJIT/LuaJIT/issues/603
and 2.1 additionally gets one other small commit.
2020-08-31 16:31:12 +02:00
Stig Palmquist 4ec71d7f5d
rakudo: 2020.08.1 -> 2020.08.2 2020-08-31 10:55:50 +02:00
Stig Palmquist cc2769b744
nqp: 2020.08.1 -> 2020.08.2 2020-08-31 10:55:20 +02:00
Stig Palmquist 5aef482f61 perl: 5.30.3 -> 5.32.0, perldevel: 5.32.0-RC0 -> 5.33.1
Co-authored-by: volth <volth@volth.com>
2020-08-30 20:21:26 +02:00
Frederik Rietdijk 5d8dd5c259 python.tests: don't mix the two types of tests
The integration tests code was included in the environment tests. After
this commit it is hopefully clearer what belongs together.
2020-08-30 12:59:24 +02:00
Norbert Melzer 29ac9bedf0 erlang: make configureFlags appending instead of overwriting
The erlang `generic-builder` accepts a lot of arguments that would
affect the `configureFlags` passed to `mkDerivation`. Though all these
arguments would be without any effect if additionally `configureFlags`
is passed and not the empty list.

This change should make it easier to "compose" arbitrary erlang overrides.
2020-08-30 11:41:14 +02:00
Frederik Rietdijk 2248a7422f python36: 3.6.11 -> 3.6.12 2020-08-30 08:59:42 +02:00
Spencer Baugh 780caf6690 python37: 3.7.8 -> 3.7.9
Release notes:
https://docs.python.org/release/3.7.9/whatsnew/changelog.html

Most notable is the fixed behavior of asynchronous generators; without
this fix, they fail to work in some scenarios.
2020-08-30 08:52:06 +02:00
jitwit 422ef5ed78 j: j901e -> j901f 2020-08-27 15:51:28 -04:00
Daniël de Kok 231e2ea1ff
Merge pull request #96228 from r-ryantm/auto-update/chibi-scheme
chibi: 0.9 -> 0.9.1
2020-08-25 07:38:51 +02:00
R. RyanTM 16c56d0ecf chibi: 0.9 -> 0.9.1 2020-08-25 03:30:06 +00:00
Stig Palmquist 28305d37e0
rakudo: 2020.07 -> 2020.08.1 2020-08-24 19:35:04 +02:00
Stig Palmquist d932e00ebe
nqp: 2020.07 -> 2020.08.1 2020-08-24 19:32:19 +02:00
Stig Palmquist d11c72cee4
moarvm: 2020.07 -> 2020.08 2020-08-24 19:31:37 +02:00
John Ericson 6cbd6955fc
Merge pull request #95623 from lopsided98/perl-cross-shebang
buildPerlPackage: fix patchShebangs when cross-compiling
2020-08-24 11:45:52 -04:00
Jörg Thalheim 2b4871445d
Merge pull request #96161 from kidd/red-0.6.4
red: 0.6.3 -> 0.6.4
2020-08-24 11:46:29 +01:00
Frederik Rietdijk 0a874ff2a6 Merge master into staging-next 2020-08-24 11:50:58 +02:00
Silvan Mosberger 2113ee4fa6
Merge pull request #96017 from baloo/baloo/guile/static-compilation
guile: fixup musl support
2020-08-24 04:08:24 +02:00
Mario Rodas d38bdeb931
Merge pull request #95855 from jlesquembre/clojure
clojure: 1.10.1.590 -> 1.10.1.645
2020-08-23 20:52:00 -05:00
Raimon Grau 1621b5173a red: 0.6.3 -> 0.6.4 2020-08-23 22:45:44 +01:00
Ben Wolsieffer d7e3e03558 perl: use $hostOffset instead of $targetOffset in cross setup hook 2020-08-23 14:55:54 -04:00
Lassulus 797ce3df8a
Merge pull request #86925 from r-ryantm/auto-update/groovy
groovy: 3.0.2 -> 3.0.3
2020-08-23 13:40:52 +02:00
Jan Tojnar 91104b5417
Merge branch 'master' into staging-next 2020-08-23 02:00:50 +02:00
Arthur Gautier 230a563bfe guile: fixup musl support
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2020-08-22 10:31:02 -07:00
Maximilian Bosch 18f6323fab
Merge pull request #95898 from xfix/php-sendmail
php: use system-sendmail
2020-08-21 21:51:19 +02:00
Lassulus 7d03cf2c8d
Merge pull request #91667 from DavHau/fix-indentation
mk-python-derivation.nix: fix indentation
2020-08-21 17:07:44 +02:00
Konrad Borowski 1d43f3490e php: use system-sendmail
By default PHP is looking for sendmail in /usr/bin/sendmail
which isn't a correct path for NixOS.
2020-08-21 12:37:46 +02:00
José Luis Lafuente a72e138bc6
clojure: 1.10.1.590 -> 1.10.1.645 2020-08-20 13:46:09 +02:00
markuskowa ff592bfaf2
Merge pull request #91176 from ericdallo/add-alda
alda: init at 1.4.2
2020-08-19 01:15:00 +02:00
Ben Wolsieffer d61f1a4a5f perl: rename miniperl output from dev to mini 2020-08-17 13:43:42 -04:00
Frederik Rietdijk 0ac85bc455 Merge master into staging-next 2020-08-17 14:54:39 +02:00
zowoq 473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
zowoq 42313b92bc buildGoModule: remove platform.all from packages 2020-08-15 19:34:47 -07:00
Alvar Penning b7ce309e6c pythonFull: add BlueZ support
This commit introduces two changes.

First, cpython gets optional BlueZ support, which is needed for
AF_BLUETOOTH sockets. Therefore bluezSupport was added as a parameter.

Second, the call to the pythonFull packages has been adjusted. The
Python packages have a self-reference called self. This was not adjusted
for the override. As a result, Python packages for this special version
of Python were not built with the overridden Python, but with the
original one.
2020-08-15 18:08:20 +02:00
Frederik Rietdijk cfe6081cee Merge staging-next into staging 2020-08-15 09:12:42 +02:00
Frederik Rietdijk 49f4475307
Merge pull request #95305 from jonringer/remove-py35
python35: remove
2020-08-15 09:08:47 +02:00
Frederik Rietdijk 4b340cbbb4
Merge pull request #93083 from risicle/ris-cpython-debug
cpython: add separateDebugInfo, allow use of gdb libpython
2020-08-15 08:52:42 +02:00
Daniël de Kok 900b2d5a6c python3: fix impure /bin/sh call in subprocess 2020-08-15 08:34:02 +02:00
R. RyanTM d996c72306
joker: 0.15.5 -> 0.15.6 (#95407) 2020-08-14 21:48:06 -07:00
Frederik Rietdijk 7e189c56a1 Merge staging-next into staging 2020-08-13 08:52:48 +02:00
Jonathan Ringer 91bec61635
python35: remove 2020-08-12 21:57:18 -07:00
Maximilian Bosch de96815a2e
evcxr: 0.5.2 -> 0.5.3
https://github.com/google/evcxr/blob/v0.5.3/RELEASE_NOTES.md
2020-08-11 22:54:26 +02:00
Vladimír Čunát 48618a1ab3
Merge #94790: luajit*: bugfix updates 2020-08-11 22:34:22 +02:00
Jan Tojnar 11da469fa5
Merge branch 'staging-next' into staging 2020-08-11 16:18:42 +02:00
Christian Kauhaus a14859c686 python: Apply patch for CVE-2019-20907
Incluing the patch file in-tree because the upstream patch is not
intended to apply for Python 2.

Re #94004
2020-08-11 16:05:43 +02:00
Frederik Rietdijk 52419cc32e
Merge pull request #95127 from andersk/pypy-7.3.1
pypy: 7.1.1 -> 7.3.1
2020-08-11 16:04:53 +02:00
Anders Kaseorg b31e4a20a4 pypy, pypy3: 7.1.1 -> 7.3.1
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-08-10 15:42:42 -07:00
Anders Kaseorg 6f2ec6d967 pythonInterpreters.pypy{27,36}_prebuilt: 7.1.1 -> 7.3.1
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-08-10 15:42:42 -07:00
Elis Hirwing 6be7d1c176
php: Drop PHP 7.2 support 2020-08-10 22:28:12 +02:00
zowoq cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
Luka Blaskovic 3fcd7415a7 luajit_2_0, luajit_2_1: 2.1.0-2020-03-20 -> 2.1.0-2020-08-05 2020-08-06 13:37:14 +00:00
volth cf7b63df5b gcc.arch: refactor, move tables under lib/ 2020-08-05 11:18:26 +00:00
volth 463db72e63 platform.gcc.arch: support for AMD CPUs 2020-08-05 02:32:48 +00:00
Farid Zakaria ea7e87abf5 jruby: 9.2.12.0 → 9.2.13.0 2020-08-04 14:50:17 -07:00
Farid Zakaria d764809c4d maintainers: add fzakaria 2020-08-04 14:50:17 -07:00
Frederik Rietdijk 26c481b435 Merge master into staging-next 2020-08-04 12:48:50 +02:00
Frederik Rietdijk 50c060d13d Merge master into staging-next 2020-08-01 19:37:20 +02:00
Mario Rodas 7902d94169
racket: 7.7 -> 7.8 2020-08-01 04:20:00 -05:00
Daniël de Kok 594fe8a17b
Merge pull request #94572 from r-ryantm/auto-update/chibi-scheme
chibi: 0.8 -> 0.9
2020-08-03 09:33:16 +02:00
R. RyanTM d97569cda1 chibi: 0.8 -> 0.9 2020-08-02 21:07:32 +00:00
Keshav Kini 9a32d3d136 acl2, acl2-minimal: build standard library, init
Before this commit, we only built the main ACL2 executable.  Most users
will also want the standard library (the "Community Books"), so after
this commit, we build the entire `make everything` suite, which includes
essentially everything provided in the ACL2 repository.

There's also a new top-level package called `acl2-minimal` which has
just the core ACL2 executable, for those who really only want that.

Future work: modularize the build so that we can support multiple
different subsets of the standard library.  A lot of the stuff in this
complete build is probably superfluous to almost all users.  Also,
because some of the books have unclear or idiosyncratic licenses, the
full build will not be cached on cache.nixos.org, and installing it will
mean spending a few hours building it.  So it would be good to have a
pared down build which excluded non-free books and things that people
rarely or never use.
2020-08-01 23:38:54 -07:00
Matthew Bauer d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
zowoq 3c5750d1cd buildGoModule packages: editorconfig fixes 2020-07-31 13:58:04 +10:00
Vladimír Čunát 60d89e5793
Merge branch 'master' into staging 2020-07-29 18:40:28 +02:00
Daniël de Kok d52d97db25
Merge pull request #94010 from jlesquembre/clojure
clojure: 1.10.547 -> 1.10.590
2020-07-28 08:50:38 +02:00
José Luis Lafuente 81ae93437b
clojure: 1.10.547 -> 1.10.590 2020-07-27 17:17:23 +02:00
Ryan Mulligan e12aa01bdd
Merge pull request #93924 from r-ryantm/auto-update/hy
hy: 0.18.0 -> 0.19.0
2020-07-26 18:53:27 -07:00
Mario Rodas ced8ec8488 python39: 3.9.0a4 -> 3.9.0b5 2020-07-26 18:45:54 +02:00
Mario Rodas 79590e27d4 python38: 3.8.3 -> 3.8.5 2020-07-26 18:45:54 +02:00
R. RyanTM 20ec6b70ce hy: 0.18.0 -> 0.19.0 2020-07-26 15:03:25 +00:00
Maximilian Bosch 5ef09f9ada
evcxr: 0.5.1 -> 0.5.2
https://github.com/google/evcxr/blob/HEAD/RELEASE_NOTES.md#version-052
2020-07-26 11:32:41 +02:00
Vladimír Čunát 2b7c0dcdaa
Merge branch 'staging-next'
Rebuild on Hydra seems OK-ish.
mongodb.nix needed some conflict resolution (scons versions);
all four versions seem to build fine.
2020-07-25 16:18:40 +02:00
Daniël de Kok a8a0dfa047
Merge pull request #93646 from cw789/erlang_update
erlangR23: 23.0.2 -> 23.0.3
2020-07-23 10:10:59 +02:00
Jan Tojnar 2988feba8c
Merge branch 'master' into staging-next 2020-07-23 08:19:14 +02:00
Stig Palmquist 62a5a71701
rakudo: 2020.06 -> 2020.07 2020-07-22 15:04:47 +02:00
Stig Palmquist 1c4041e661
nqp: 2020.06 -> 2020.07 2020-07-22 15:04:27 +02:00
Stig Palmquist 54b6a81f71
moarvm: 2020.06 -> 2020.07 2020-07-22 15:03:56 +02:00
cw e30f7087da erlangR23: 23.0.2 -> 23.0.3 2020-07-22 13:18:05 +02:00
Vladimír Čunát 7a5c6fee0f
Merge branch 'master' into staging-next
Some rebuilds, e.g. all of haskell.
Hydra nixpkgs: ?compare=1601713
2020-07-22 08:37:19 +02:00
Gabor Greif 74d9ab3f50 wasmtime: 0.18.0 -> 0.19.0 2020-07-22 01:50:56 +02:00
Jörg Thalheim b595268537
Merge pull request #87239 from Izorkin/ruby-soname
ruby: fix soname tag
2020-07-17 19:27:45 +01:00
Dmitry Kalinkin 9173beb67d
Merge branch 'staging-next' into staging 2020-07-15 22:28:18 -04:00
Robert Scott ede2e00c9f cpython: expose gdb libpython.py
used together with cpython's debugging symbols, this allows inspection of
the python stack of cpython programs in gdb. this file is a little
different from the rest of the python output by this package, in that it's
not intended to be run by the current python being built, instead by the
python being used by the gdb in question, which could be very different.
therefore placed in its own, but hopefully logical & predictable location.
2020-07-15 19:39:19 +01:00
Michael Raskin 71eb03a3c1
Merge pull request #92403 from r-ryantm/auto-update/picoLisp
picolisp: 19.12 -> 20.6
2020-07-15 07:30:00 +00:00
Jan Tojnar 821dba740e
Merge branch 'staging-next' into staging 2020-07-15 09:29:01 +02:00
Georges Dubus 249a368cd7
Merge pull request #87738 from cw789/erlang_update
erlangR23: init at 23.0.2
2020-07-14 14:50:53 +02:00
Robert Scott 6d19ab339a cpython: set separateDebugInfo 2020-07-13 22:30:55 +01:00
Vladimír Čunát 377324ca6d
Merge branch 'staging-next' (PR #91090) 2020-07-13 07:13:56 +02:00
Maximilian Bosch db2a5bf3b9
Merge pull request #92928 from etu/php72-update
php72: 7.2.31 -> 7.2.32
2020-07-11 18:27:37 +02:00
Maximilian Bosch f510162d69
Merge pull request #92927 from etu/php73-update
php73: 7.3.19 -> 7.3.20
2020-07-11 18:27:22 +02:00
Maximilian Bosch 2423213b95
Merge pull request #92925 from etu/php74-update
php74: 7.4.7 -> 7.4.8
2020-07-11 18:25:41 +02:00
Maximilian Bosch 3d9c143b77
Merge pull request #91895 from kristoff3r/jupyter-service
Improve jupyter service
2020-07-11 18:03:31 +02:00
Elis Hirwing 49316cca66
php74: 7.4.7 -> 7.4.8
Changelog: https://www.php.net/ChangeLog-7.php#7.4.8
2020-07-11 15:07:44 +02:00
Elis Hirwing 86ed3bf578
php72: 7.2.31 -> 7.2.32
Changelog: https://www.php.net/ChangeLog-7.php#7.2.32
2020-07-11 14:49:37 +02:00
Elis Hirwing ef4f6dba94
php73: 7.3.19 -> 7.3.20
Changelog: https://www.php.net/ChangeLog-7.php#7.3.20
2020-07-11 14:46:29 +02:00
Frederik Rietdijk a3a40ac7cc Merge staging-next into staging 2020-07-11 09:00:18 +02:00
Frederik Rietdijk ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
R. RyanTM c02f514929 spidermonkey_68: 68.7.0 -> 68.10.0 2020-07-08 02:53:04 +02:00
Oleksii Filonenko 0f66375d45
Merge pull request #92294 from r-ryantm/auto-update/elixir
elixir: 1.10.3 -> 1.10.4
2020-07-07 17:47:17 +03:00
Kristoffer Søholm a8b68fc49f evcxr: wrap evcxr_jupyter binary
evcxr_jupyter needs the same wrapper as the main binary to work.
2020-07-07 15:00:54 +02:00
R. RyanTM 9165adad4d picolisp: 19.12 -> 20.6 2020-07-06 04:04:30 +00:00
Jan Tojnar 3d6fcff625
Merge branch 'staging-next' into staging 2020-07-05 00:00:14 +02:00
R. RyanTM ec8574ae71 elixir: 1.10.3 -> 1.10.4 2020-07-04 20:50:16 +00:00
Frederik Rietdijk 7935bf793e python37: 3.7.7 -> 3.7.8 2020-07-04 18:13:44 +02:00
Frederik Rietdijk 60fb772ae2 python36: 3.6.10 -> 3.6.11 2020-07-04 18:13:44 +02:00
Vladimír Čunát e1206a2129
Merge master into staging-next
This brings thousands of rebuilds.
Hydra nixpkgs: ?compare=1597944
2020-07-04 09:15:27 +02:00
Mario Rodas 033204e47a
Merge pull request #92222 from r-ryantm/auto-update/jruby
jruby: 9.2.11.1 -> 9.2.12.0
2020-07-03 18:58:13 -05:00
Mario Rodas 2a208beca4
Merge pull request #92221 from r-ryantm/auto-update/joker
joker: 0.15.4 -> 0.15.5
2020-07-03 18:56:24 -05:00
R. RyanTM 8eb0654d16 jruby: 9.2.11.1 -> 9.2.12.0 2020-07-03 20:04:39 +00:00
R. RyanTM 5e73c358aa joker: 0.15.4 -> 0.15.5 2020-07-03 19:57:53 +00:00
Gabor Greif f16dc8aaf4 wasmtime: 0.17.0 -> 0.18.0
https://github.com/bytecodealliance/wasmtime/releases/tag/v0.18.0
2020-07-03 01:06:28 +02:00
misuzu aedbade43e python3Packages.pip: allow setting reproducible temporary directory via NIX_PIP_INSTALL_TMPDIR 2020-07-02 17:27:13 +02:00
Frederik Rietdijk c33ca7c5ce Merge staging-next into staging 2020-07-02 17:14:53 +02:00
Mario Rodas 55f52680f9
Merge pull request #92011 from r-ryantm/auto-update/janet
janet: 1.10.0 -> 1.10.1
2020-07-02 09:10:51 -05:00
R. RyanTM 426bf48c48 janet: 1.10.0 -> 1.10.1 2020-07-02 12:23:08 +00:00
Mario Rodas 7e623d8c44
Merge pull request #91891 from r-ryantm/auto-update/zef
zef: 0.8.4 -> 0.8.5
2020-06-30 19:19:29 -05:00
R. RyanTM 9de27d21ee zef: 0.8.4 -> 0.8.5 2020-06-30 21:02:04 +00:00
Vincent Laporte 2b8ee31b6d eff: compatibility with JSoO 3.6.0 2020-06-28 09:59:04 +02:00
DavHau d1c1a0c656 fix indentation in mk-python-derivation.nix 2020-06-27 14:26:03 +00:00
Maximilian Bosch af064a0e12
php7{2,3}: fix darwin build
* Backported patches from `php-7.4` which fixes the env for all
  `gettext` and `zlib` tests.
* Setting `--with-libxml-dir` is still needed for versions 7.2 and 7.3.
2020-06-25 22:29:23 +02:00
Frederik Rietdijk fe9a096f46 Merge staging-next into staging 2020-06-25 20:36:08 +02:00
Christian Kauhaus 1d805c99bd php: 7.2.29 -> 7.2.31, 7.3.16 -> 7.3.19, 7.4.6 -> 7.4.7
Point releases contain several security updates and bugfixes.

Changelog: https://www.php.net/ChangeLog-7.php#7.4.7

Fixes #88381
2020-06-25 15:41:31 +02:00
Frederik Rietdijk 6f72f0b0df Merge staging-next into staging 2020-06-24 19:04:26 +02:00
Stig Palmquist 880695f4c5
rakudo: 2020.05.1 -> 2020.06
dependencies:
nqp: 2020.05 -> 2020.06
moarvm: 2020.05 -> 2020.06
2020-06-23 14:16:23 +02:00
Frederik Rietdijk 9c3a585731
Merge pull request #91178 from FRidh/ldshared
python3: improve cross-compilation of extension modules, fixes #91171
2020-06-22 08:47:40 +02:00
Matthew Bauer 74c8e34ece
Merge pull request #91114 from danieldk/clojure-man-pages
clojure: install man pages
2020-06-21 21:33:20 -04:00
Frederik Rietdijk f03734efa0 python3: improve cross-compilation of extension modules, fixes #91171 2020-06-21 16:29:57 +02:00
Eric Dallo 3d093cbbea
alda: init at 1.4.2 2020-06-20 12:25:02 -03:00
Matthew Bauer ae423cfeab
Merge pull request #90028 from ggreif/wasmtime
wasmtime: 0.16.0 -> 0.17.0
2020-06-19 16:54:02 -04:00
Daniël de Kok a6f7a8b010 clojure: install man pages
Also move `makeWrapper` to `nativeBuildInputs`.
2020-06-19 20:24:05 +02:00
Daniël de Kok ad6c43fb33
Merge pull request #90720 from jlesquembre/clj-547
clojure: 1.10.1.507 -> 1.10.1.547
2020-06-19 20:16:59 +02:00
Mitsuhiro Nakamura a7d1e40044
gauche: fix path to cert file (#90708) 2020-06-19 11:33:06 -04:00
José Luis Lafuente 64b2789c4e
clojure: 1.10.1.507 -> 1.10.1.547
Patch no longer need, added upstream:
https://clojure.atlassian.net/browse/TDEPS-150
2020-06-18 11:32:39 +02:00
Frederik Rietdijk 79f9ef8752 Merge master into staging-next 2020-06-18 09:01:39 +02:00
Gabriel Gonzalez 459cf94991 Nixpkgs support for dhall-to-nixpkgs
The motivation for this change is to enable a new Dhall command-line
utility called `dhall-to-nixpkgs` which converts Dhall packages to
buildable Nix packages.  You can think of `dhall-to-nixpkgs` as the
Dhall analog of `cabal2nix`.

You can find the matching pull request for `dhall-to-nixpkgs` here:

https://github.com/dhall-lang/dhall-haskell/pull/1826

The two main changes required to support `dhall-to-nixpkgs` are:

* Two new `buildDhall{Directory,GitHub}Package` utilities are added

  `dhall-to-nixpkgs` uses these in the generated output

* `pkgs.dhallPackages` now selects a default version for each package
  using the `prefer` utility

  All other versions are still buildable via a `passthru` attribute
2020-06-17 15:57:21 +02:00
Frederik Rietdijk b7aec77a7b buildPythonPackage: don't recompile bytecode
There are too many regressions. Instead of reverting all the work that has been
done on this so far, let's just disable it Python-wide. That way we can
investigate and fix it easier.
2020-06-17 14:54:03 +02:00
Frederik Rietdijk 8850815577 Merge master into staging-next 2020-06-17 08:40:33 +02:00
Maximilian Bosch 385eeb4c35
Merge pull request #99377 from etu/php73-update
php73: 7.3.20 -> 7.3.23
2020-10-03 17:44:13 +02:00
Maximilian Bosch 73cf983321
Merge pull request #99376 from etu/php74-update
php74: 7.4.8 -> 7.4.11
2020-10-03 17:22:50 +02:00
Patrick Hilhorst b133532434 treewide: remove some trailing whitespace to please ofborg 2020-10-02 09:01:35 -07:00
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
Elis Hirwing e04af50179
php73: 7.3.20 -> 7.3.23
- https://www.php.net/ChangeLog-7.php#7.3.21
 - https://www.php.net/ChangeLog-7.php#7.3.22
 - https://www.php.net/ChangeLog-7.php#7.3.23
2020-10-02 13:07:25 +02:00
Elis Hirwing a792db658f
php74: 7.4.8 -> 7.4.11
https://www.php.net/ChangeLog-7.php#7.4.9
https://www.php.net/ChangeLog-7.php#7.4.10
https://www.php.net/ChangeLog-7.php#7.4.11
2020-10-02 12:58:58 +02:00
Chris Wögi 0253c131e5
erlangR23: 23.0.3 -> 23.1 (#98646)
Co-authored-by: cw <789@webuhu.at>
2020-10-01 18:09:47 +02:00
Maciej Krüger 5ad43894f2
spidermonkey_38: mark as insecure 2020-10-01 10:00:24 +02:00
Jonathan Ringer b6654d9d6c python2Packages: default to dontUsePythonRecompileBytecode = true; 2020-06-16 13:02:50 -07:00
R. RyanTM af65170aa0 janet: 1.9.1 -> 1.10.0 2020-06-16 03:35:17 +00:00
Frederik Rietdijk 59dda0a42a Merge master into staging-next 2020-06-15 08:07:00 +02:00
John Ericson fd4dcae884 Merge remote-tracking branch 'upstream/nixpkgs-unstable' into staging 2020-06-14 21:46:35 +00:00
Timo Kaufmann 20e62aa580
Merge pull request #90249 from Ericson2314/fix-old-php
php < 7.4: Fix validation of PKG_CONFIG var
2020-06-14 12:30:36 +02:00
John Ericson c1b9f86cdd php < 7.4: Fix validation of PKG_CONFIG var
They were assuming it is an absolute path, but it (conventionally) can
be something to look up on the PATH too.

Fixes #90202
2020-06-13 19:06:33 +00:00
Frederik Rietdijk 2e4b4e3300 Merge staging-next into staging 2020-06-13 11:03:26 +02:00
Frederik Rietdijk 1523382160 Merge master into staging-next 2020-06-13 11:02:21 +02:00
Frederik Rietdijk 818cf7827b buildPythonPackage: recompile bytecode for reproducibility
Due to a change in pip the unpacked wheels are no longer reproducible.
We recompile the bytecode to cleanup this error.
https://github.com/NixOS/nixpkgs/issues/81441
2020-06-13 10:36:28 +02:00
Frederik Rietdijk a7ea828f09 pythonRemoveBinBytecodeHook: fix explanation 2020-06-13 10:20:14 +02:00
Doron Behar 01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Frederik Rietdijk 4087d3fe41 python: don't use optimizations on Darwin
Also, don't use autoreconfHook on Darwin with Python 3.
Darwin builds are still impure and fail with

    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: object file (/nix/store/0lsij4jl35bnhqhdzla8md6xiswgig5q-Libsystem-osx-10.12.6/lib/crt1.10.6.o) was built for newer OSX version (10.12) than being linked (10.6)
    DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
    if test $? -ne 0 ; then \
            echo "generate-posix-vars failed" ; \
            rm -f ./pybuilddir.txt ; \
            exit 1 ; \
    fi
    /nix/store/dsb7d4dwxk6bzlm845z2zx6wp9a8bqc1-bash-4.4-p23/bin/bash: line 5: 72015 Killed: 9               DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars
    generate-posix-vars failed
    make: *** [Makefile:592: pybuilddir.txt] Error 1
2020-06-12 18:29:08 +02:00
Matthew Bauer 0daaed8730 Revert "Merge pull request #89726 from doronbehar/ruby-gcc-ref"
This reverts commit 6590c33850, reversing
changes made to d659f968ba.
2020-06-11 12:05:14 -05:00
Matthew Bauer 6590c33850
Merge pull request #89726 from doronbehar/ruby-gcc-ref
rubyMinimal: don't reference stdenv.cc
2020-06-11 11:01:39 -05:00
Gabor Greif 557d075d7b wasmtime: 0.16.0 -> 0.17.0
https://github.com/bytecodealliance/wasmtime/releases/tag/v0.17.0
2020-06-10 22:45:49 +02:00
cw 0a5a19f464 erlangR23: init at 23.0.2
Enable parallel builds for recent Erlang/OTP version R22 and R23

Co-authored-by: Tino Breddin <t@tolbrino.com>
2020-06-10 20:06:12 +02:00
Vladimír Čunát 13add13388
Merge branch 'master' into staging-next
... to resolve a trivial conflict in libpcap.
2020-06-10 20:00:44 +02:00
Vladimír Čunát a5f5d020c6
Merge branch 'staging-next' 2020-06-10 16:13:48 +02:00
R. RyanTM 81c9cc0b60 joker: 0.15.3 -> 0.15.4 2020-06-10 01:51:27 +00:00
Doron Behar bb8ea13840 rubyMinimal: Disable JIT support and remove cc refs
To make rubyMinimal truely minimal, it shouldn't reference stdenv.cc
2020-06-07 10:32:11 +03:00
Doron Behar 0ab3c6b7d0 ruby: make removeReferencesToCC remove all cc refs
`lib/ruby/${version}/<platform>/rbconfig.rb` records the compiler used
for JIT.
2020-06-07 10:22:22 +03:00
Doron Behar 2da5872b72 ruby: Enable to disable JIT support 2020-06-07 10:18:16 +03:00
Daniël de Kok 1e2b6695cf pythonPackages.setuptoolsBuildHook: do not build in an isolated environment
When a PEP 517 project file is present, pip will not install
prerequisites in `site-packages`:

https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support

For the shell hook, this has the consequence that the generated
temporary directory that is added to PYTHONPATH does not contain
`site.py`. As a result, Python does not discover the Python
module. Thus when a user executes nix-shell in a project, they cannot
import the project's Python module.

This change adds the `--no-build-isolation` option to pip when
creating the editable environment, to correctly generate `site.py`,
even when a `pyproject.toml` is present.
2020-06-06 10:05:26 +02:00
Daniël de Kok e2309df85e pythonPackages.pipBuildHook: do not build in an isolated environment
When a PEP 517 project file is present, pip will not install
prerequisites in `site-packages`:

https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support

For the shell hook, this has the consequence that the generated
temporary directory that is added to PYTHONPATH does not contain
`site.py`. As a result, Python does not discover the Python
module. Thus when a user executes nix-shell in a project, they cannot
import the project's Python module.

This change adds the `--no-build-isolation` option to pip when
creating the editable environment, to correctly generate `site.py`,
even when a `pyproject.toml` is present.
2020-06-06 10:05:26 +02:00
Frederik Rietdijk 1c68570ab2 Merge staging-next into staging 2020-06-05 19:42:16 +02:00
Frederik Rietdijk 43f71029cc Merge master into staging-next 2020-06-05 19:40:53 +02:00
Frederik Rietdijk 913bee36ed python3Minimal: override python38, not python3
This avoids an infinite recursion, accidentally introduced in b7ff746540.
2020-06-05 16:46:40 +02:00
Frederik Rietdijk a337c44db6 python3Minimal: disable optimizations
No point for the bootstrapping.
2020-06-04 20:53:31 +02:00
Frederik Rietdijk bcf03e8cd2 Revert "cpython: Optimize dynamic symbol tables, for a 6% speedup."
ofborg does not like fetching patches when the derivation is used during bootstrapping.

This reverts commit 480c8d1991.
2020-06-04 20:36:31 +02:00
Frederik Rietdijk a2be64bf13
Merge pull request #84072 from gnprice/python-build
cpython: Use optimizations, for a 25% speedup.
2020-06-04 18:31:07 +02:00
volth d89c58a012 perl: 5.30.2 -> 5.30.3 2020-06-04 18:14:24 +02:00
Frederik Rietdijk b7ff746540 python3: now points to python38
Note this also means python3Minimal is now also Python 3.8.

This reverts commit eb1369670b and adds more.
2020-06-04 18:08:29 +02:00
Luflosi 2379e36124 python39: fix build on macOS
Basically the same changes as in 81d15948cc but for python3.9 instead of python3.8.
2020-06-04 17:11:29 +02:00
Ben Sima 976d2e5c0d shen-sources: set platforms to all
See https://github.com/NixOS/nixpkgs/pull/88915#issuecomment-636138041
2020-05-29 12:08:29 -07:00
Ben Sima eaa851c41f shen-sbcl: set platforms to same as sbcl
See https://github.com/NixOS/nixpkgs/pull/88915#issuecomment-636138041
2020-05-29 12:07:53 -07:00
Frederik Rietdijk 36d9eeb9c7 Merge staging-next into staging 2020-05-29 17:06:01 +02:00
Frederik Rietdijk c7d25a5db6 Merge master into staging-next 2020-05-29 17:05:38 +02:00
talyz bfdc832aef
php.buildEnv: Let enabled extensions to pass through by default
If only extraConfig is specified in buildEnv, keep the currently
enabled extensions active. Brought up in #89011.
2020-05-29 00:32:12 +02:00
Frederik Rietdijk 362d88c2b1 Merge staging-next into staging 2020-05-27 15:27:28 +02:00
Frederik Rietdijk 1b7204ab3c Merge master into staging-next 2020-05-27 15:26:50 +02:00
Frederik Rietdijk 0367fa630d python38: 3.8.2 -> 3.8.3 2020-05-27 12:10:25 +02:00
Ben Sima 12ce76d7a5 shen-sbcl: init at 3.0.3 2020-05-26 15:28:28 -07:00
Ben Sima 5303493efc shen-sources: init at 22.3 2020-05-26 15:28:09 -07:00
Ryan Mulligan f1d9510c99
Merge pull request #88761 from r-ryantm/auto-update/rakudo
rakudo: 2020.05 -> 2020.05.1
2020-05-25 07:50:52 -07:00
Jan Tojnar f8ac6112b5
Merge pull request #84994 from r-ryantm/auto-update/spidermonkey 2020-05-25 15:22:42 +02:00
R. RyanTM 926e43c1c4 rakudo: 2020.05 -> 2020.05.1 2020-05-24 09:02:40 +00:00
Frederik Rietdijk f17001afd8 Python: fix virtualenv with Python 2 2020-05-24 10:43:24 +02:00
Frederik Rietdijk 98bcf5d8da Python tests: fix use of is_virtualenv
Too many tests set it.
2020-05-24 10:43:24 +02:00
Frederik Rietdijk c778596f56 Merge master into staging-next 2020-05-24 10:03:22 +02:00
Frederik Rietdijk 2de446e0b8 python.tests: also test virtualenv
Test whether creating a virtualenv functions.
2020-05-23 18:15:45 +02:00
adisbladis 203f382a4a
pypy: Remove bootstrap python from closure 2020-05-23 11:47:11 +01:00
Frederik Rietdijk b34551384a Merge master into staging-next 2020-05-23 10:24:52 +02:00
Benjamin Andresen 47d4a68bb1 babashka: 0.0.94 -> 0.0.97 2020-05-21 00:10:29 +02:00
R. RyanTM 754562f855 janet: 1.8.1 -> 1.9.1 2020-05-19 08:05:24 +00:00
Jan Tojnar 7f40cfd97b
Merge branch 'master' into staging-next 2020-05-18 21:09:27 +02:00
Mario Rodas 033267eb93
Merge pull request #87921 from ggreif/wasmtime
wasmtime: 0.15.0 -> 0.16.0
2020-05-16 17:33:30 -05:00
Elis Hirwing 726cbe0d40
Merge pull request #87907 from etu/php74-update
php74: 7.4.4 -> 7.4.6
2020-05-16 14:27:44 +02:00
Elis Hirwing a779efcaa0
php74: 7.4.5 -> 7.4.6
Changelog: https://www.php.net/ChangeLog-7.php#7.4.6
2020-05-16 13:23:23 +02:00
Jon 15b3d9d277
python3Packages.venvShellHook: add postVenvCreation (#87850)
* python3Packages.venvShellHook: add postVenvCreation

* python: docs: add postVenvCreation explaination
2020-05-16 09:34:11 +02:00
Gabor Greif d89ae377d4 wasmtime-0.16.0: re-enable tests on Darwin
The issue https://github.com/bytecodealliance/wasmtime/issues/1556
appears to be fixed.
2020-05-16 04:56:26 +02:00
Gabor Greif b39717abff wasmtime: 0.15.0 -> 0.16.0 2020-05-16 04:42:02 +02:00
Elis Hirwing 52d2e99182
php74: 7.4.4 -> 7.4.5
Changelog: https://www.php.net/ChangeLog-7.php#7.4.5
2020-05-15 22:10:03 +02:00
Frederik Rietdijk 92a26320e7 Merge master into staging-next 2020-05-14 09:25:25 +02:00
Colin L Rice d6162dab50
go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01: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