Commit graph

46 commits

Author SHA1 Message Date
Frederik Rietdijk 1d63f89caa cudaPackages: overhaul of how we package cuda packages
There are many different versions of the `cudatoolkit` and related
cuda packages, and it can be tricky to ensure they remain compatible.

- `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist");
- expressions should now use `cudaPackages` as parameter instead of the individual cuda packages;
- `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version;
- `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-09 08:50:22 +02:00
Martin Weinelt c6476294e1 Merge remote-tracking branch 'origin/master' into staging-next 2022-04-04 18:40:34 +02:00
Ilya Elenskiy 23ae4dfc22 python3.pkgs.numba: added optional CUDA support 2022-04-04 18:12:23 +02:00
Jonathan Ringer 8fbc6dca17 python3Packages.numba: relax numpy version bounds 2022-03-14 00:29:08 +01:00
Martin Weinelt 1c64dd01ef python3Packages.numba: 0.55.0 -> 0.55.1 2022-03-14 00:28:56 +01:00
Martin Weinelt dd1ff973f9 python3Packages.numba: 0.54.1 -> 0.55.0 2022-01-23 01:09:42 +01:00
Martin Weinelt 3199fe20fc python3Packages.numba: 0.54.0 -> 0.54.1 2021-10-11 01:22:05 +02:00
Martin Weinelt 3d982a7ed5 python3Packages.numba: 0.53.1 -> 0.54.0 2021-09-01 21:23:10 +02:00
Robert Schütz 35a0095d4b python3Packages.numba: supports Python 3.9 2021-07-05 12:34:02 -07:00
Martin Weinelt 52f12273f7 python3Packages.numba: 0.53.0 -> 0.53.1 2021-06-22 13:42:34 +02:00
Andrew Childs 7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
Frederik Rietdijk c62be12e46 python3Packages.numba: 0.52.0 -> 0.53.0 2021-04-03 17:48:43 +02:00
Dmitry Kalinkin e714a4c376
python3Packages.numba: disable on python 3.9
RuntimeError: Cannot install on Python version 3.9.2; only versions >=3.6,<3.9 are supported.
2021-03-01 20:51:43 -05:00
Dmitry Kalinkin 921d68d79f
pythonPackages.numba: 0.51.0 -> 0.52.0 2021-02-27 11:58:34 -05:00
krzygorz 62a94d2c40 python3Packages.numba: use pythonImportsCheck
Since the unit tests are disabled, we should at least do a pythonImportsCheck

Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
2021-02-20 11:32:22 +01:00
krzygorz 37fbc86e35 python3Packages.numba: clean up dependencies
Since the package is declared to be incompatibile with python versions older than 3.6 the `lib.optionals isPy27 [ funcsigs singledispatch]` part is redundant.
2021-02-20 11:32:22 +01:00
krzygorz f80ef84960 python3Packages.numba: add setuptools dependency
Numba needs setuptools as a runtime dependency: https://numba.pydata.org/numba-doc/latest/user/installing.html#dependency-list
2021-02-20 11:32:22 +01:00
Pavol Rusnak a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Frederik Rietdijk bbfc68fc77 python3Packages.numba: 0.51.1 -> 0.51.2 2020-11-05 15:47:00 -08:00
Frederik Rietdijk 45786bb8d3 python3Packages.numba: 0.51.0 -> 0.51.1 2020-08-29 10:23:39 -07:00
Frederik Rietdijk 0d138c6e4b python: numba: 0.50.1 -> 0.51.0 2020-08-16 19:31:08 +02:00
Frederik Rietdijk 940c3d880c python: numba: 0.50.0 -> 0.50.1 2020-08-04 21:54:26 +02:00
Frederik Rietdijk 8bccb80cd0 python: numba: 0.49.1 -> 0.50.0 2020-06-30 17:35:29 +02:00
Frederik Rietdijk 6b511643ce python: numba: 0.48.0 -> 0.49.1 2020-05-11 22:12:08 +02:00
Pavol Rusnak 420124adf8 python: remove isPy33, isPy34 2020-05-04 18:49:45 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer 984eb94496 python3Packages.numba: disable for python < 3.6 2020-02-13 08:16:14 +01:00
Frederik Rietdijk 4362401fa3 python: numba: 0.46.0 -> 0.48.0 2020-02-06 10:25:18 +01:00
Frederik Rietdijk 949caaec2e python: numba: 0.45.1 -> 0.46.0 2019-10-18 09:54:03 +02:00
Frederik Rietdijk 71e4f9403a python: numba: 0.45.0 -> 0.45.1 2019-10-18 09:53:59 +02:00
Frederik Rietdijk 1665bde593 python: numba: 0.44.0 -> 0.45.0 2019-07-21 08:38:23 +02:00
Frederik Rietdijk 5ae314d990 python: numba: 0.43.1 -> 0.44.0 2019-06-15 09:43:09 +02:00
Frederik Rietdijk 508e62d565 python: numba: 0.40.1 -> 0.43.1 2019-06-15 08:44:03 +02:00
Robert Schütz 8c57113e14 python.pkgs.argparse: remove
argparse is part of stdlib in 2.7 and 3.2+
2019-01-22 12:43:07 +01:00
Frederik Rietdijk 842bd6328e python: numba: 0.39.0 -> 0.40.1 2018-12-03 16:50:32 +01:00
Frederik Rietdijk 8c02abd208 python: numba: 0.38.1 -> 0.39.0 2018-07-22 16:52:46 +02:00
Frederik Rietdijk da5ea21218 python: numba: 0.37.0 -> 0.38.1 2018-06-22 13:09:22 +02:00
Frederik Rietdijk daf18bdca5 python: numba: 0.36.2 -> 0.37.0 2018-02-26 19:03:28 +01:00
Frederik Rietdijk e76f06c649 python: numba: 0.35.0 -> 0.36.2 2017-12-31 11:01:53 +01:00
Frederik Rietdijk 7ce848309e python.pkgs: updates 2017-10-27 21:34:42 +02:00
Frederik Rietdijk d58e1f1c7b python.pkgs: many updates 2017-08-25 19:36:14 +02:00
Frederik Rietdijk 6b999f3c42 Python: many package updates
Did not test all packages. Likely we'll have some breakage.
2017-05-27 14:25:08 +02:00
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00
Frederik Rietdijk fd87b9957c pythonPackages.numba: 0.30.1 -> 0.31.0 2017-04-18 12:07:56 +02:00
Frederik Rietdijk 8a4730642f pythonPackages.numba: 0.29.0 -> 0.30.1 2017-02-14 09:23:59 +01:00
Frederik Rietdijk 6435a85c3f pythonPackages.numba: 0.27.0 -> 0.29.0
and move expression in a separate file.
2016-11-14 12:31:05 +01:00