1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 06:42:33 +03:00
Commit graph

37 commits

Author SHA1 Message Date
Robert Schütz
81465ba949 python310Packages.pybind11: 2.10.1 -> 2.10.2
https://github.com/pybind/pybind11/blob/v2.10.2/docs/changelog.rst
2022-12-23 22:42:15 -08:00
Doron Behar
f09c2e8f11
Merge pull request #200845 from doronbehar/pkg/pybind11-cross
python3.pkgs.pybind11: don't build tests if cross compiling
2022-11-14 12:39:06 +02:00
Doron Behar
19c5ad8058 python3.pkgs.pybind11: don't build tests if not needed
Fixes cross compilation as well.
2022-11-14 08:21:06 +02:00
Robert Schütz
3f623f2b19 python310Packages.pybind11: 2.10.0 -> 2.10.1
https://github.com/pybind/pybind11/releases/tag/v2.10.1
2022-11-08 19:31:07 -08:00
Phillip Cloud
89dcf2c639
python38Packages.pybind11: fix build 2022-10-23 10:25:42 -07:00
Graham Christensen
c2b898da76 treewide: drop -l$NIX_BUILD_CORES
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.

For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.

This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.

A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.

There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.

For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.

Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
2022-09-22 16:01:23 -04:00
Yves Fischer
1725792452 python3Packages.pybind11: use python interpreter from pythonForBuild 2022-08-27 22:17:26 +02:00
Robert Schütz
3bb4b724b4 python310Packages.pybind11: 2.9.2 -> 2.10.0
https://github.com/pybind/pybind11/releases/tag/v2.10.0
2022-08-09 17:31:02 +00:00
Robert Schütz
9af0939eae python3Packages.pybind11: 2.9.1 -> 2.9.2
https://github.com/pybind/pybind11/releases/tag/v2.9.2
2022-04-19 20:55:36 +02:00
Martin Weinelt
20b0221ec3
python3Packages.pybind11: disable tests that parse setuptools output 2022-03-02 20:57:43 +01:00
Phillip Cloud
dd3d417147 python3Packages.pybind11: build in parallel 2022-03-02 01:12:12 +00:00
Robert Schütz
be1609fe56 python3Packages.pybind11: 2.9.0 -> 2.9.1
https://github.com/pybind/pybind11/releases/tag/v2.9.1
2022-02-03 08:43:23 -08:00
Jonathan Ringer
f1689bd490 python3Packages.pybind11: disable incompatible tests 2022-01-23 01:09:29 +01:00
Robert Schütz
f9c2ed0713
python3Packages.pybind11: 2.8.1 -> 2.9.0 (#152525)
https://github.com/pybind/pybind11/releases/tag/v2.9.0
2022-01-08 20:03:25 -05:00
Robert Schütz
8f658696ea python3Packages.pybind11: 2.8.0 -> 2.8.1
https://github.com/pybind/pybind11/releases/tag/v2.8.1
2021-11-13 20:58:08 -08:00
Robert Schütz
86b096d6ef python3Packages.pybind11: 2.7.1 -> 2.8.0
https://github.com/pybind/pybind11/releases/tag/v2.8.0
2021-10-06 22:17:55 -07:00
Martin Weinelt
241a92b8bc python3Packages.pybind11: 2.7.0 -> 2.7.1 2021-09-05 14:58:02 +02:00
Robert Schütz
cc716a82c0 pythonPackages.pybind11: 2.6.2 -> 2.7.0
https://github.com/pybind/pybind11/releases/tag/v2.7.0
2021-07-24 15:16:25 +02:00
Robert Schütz
c7e1ded6c5 pythonPackages.pybind11: don't run scipy tests
Two tests out of 439 are not worth working around the cyclic dependency.
2021-06-22 13:42:55 +02:00
Robert Schütz
6553947785 pythonPackages.pybind11: install cmake config again 2021-06-22 13:42:55 +02:00
Robert Schütz
fbbe75d6e9 pythonPackages.pybind11: improve expression
We shouldn't build and install the package in preFixup.
2021-06-22 13:42:54 +02:00
Robert Schütz
68032151a4 pythonPackages.pybind11: fix pybind11Config.cmake 2021-05-14 12:44:20 +00:00
Jonathan Ringer
c706b938e9 python3Packages.pybind11: 2.6.1 -> 2.6.2 2021-04-03 17:49:50 +02:00
Frederik Rietdijk
346b2212c7 pythonPackages.pybind11: 2.5.0 -> 2.6.1 2020-11-19 22:05:09 +01:00
Jonathan Ringer
72d4d15d77 python3Packages.pybind11: 2.4.3 -> 2.5.0 2020-07-26 18:59:32 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robert Scott
951fb0472a pythonPackages.pybind11: fix for clang
default clang is still not happy with c++17's sized and aligned
deallocations
2020-01-04 23:10:16 +00:00
Frederik Rietdijk
9b0b85345c pythonPackages.pybind11: hardcode include directory 2019-12-19 19:58:12 +01:00
Frederik Rietdijk
6dadfaa197 pythonPackages.pybind11: cleanup recipe 2019-12-19 19:30:56 +01:00
Josef Kemetmüller
084eaa4987 pybind11: Unify with pythonPackages.pybind11
Instead of one derivation providing a cmake-compatible library and one
providing a setuptools-compatible library, we now support both ways of
consuming the library for both pybind11 and python.pkgs.pybind11.
2019-11-28 21:36:58 -08:00
Jonathan Ringer
46515fbada pythonPackages.pybind11: expose headers 2019-10-18 09:54:04 +02:00
Jonathan Ringer
8ae6fb066e python3Packages.pybind11: 2.3.0 -> 2.4.3 2019-10-18 09:54:04 +02:00
Frederik Rietdijk
241a61939d python.pkgs.pybind11: fix build 2019-09-08 17:43:16 +02:00
Robert Scott
d4713b6493 pythonPackages.pybind11: enable tests 2019-09-06 21:15:22 +02:00
Ivan Kozik
eeec6d7325 pybind11: 2.2.4 -> 2.3.0
pikepdf wants a newer pybind11.
2019-08-31 22:18:25 +00:00
Maximilian Bosch
94c3ac2574
pythonPackages.pybind11: apply patch to properly get headers directories
It seems as the `pybind11` build code returns the Python headers
directory (where the `pybind11` headers are stored as well on traditional
setups) rather than returning the dedicated prefix[1].

An exemplary fallout is the broken build of `pyopencl`[2].

[1] https://github.com/pybind/pybind11/issues/1425
[2] https://github.com/NixOS/nixpkgs/pull/56082
2019-03-08 07:08:44 +01:00
Florian Franzen
57a9594bf1 pythonPackages.pybind11: init at 2.2.4 2019-02-10 11:24:03 +01:00