1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 05:19:17 +03:00
Commit graph

14 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
Ryan Burns
11bf0ac25b pythonPackages.libgpuarray: fix opengl runpath
nvidia_x11 libs should be picked up from
/run/opengl-driver/lib at runtime
2021-09-22 09:10:26 -07:00
Jonathan Ringer
6252070c89 python3Packages.libgpuarray: 0.7.5 -> 0.7.6 2021-04-03 17:49:48 +02:00
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07: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
Markus Kowalewski
ad1e7b09c0
libgpuarray: fix build
move cmake into nativeBuildInputs
2019-03-29 14:18:55 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Stefan Matting
6d8bf113bd libgpuarray: add nvidia_x11 as dependency when cudaSupport 2018-05-13 14:19:16 +02:00
Josef Kemetmüller
d96f0c5682 pythonPackages.libgpuarray: enable darwin build 2018-04-15 18:34:45 +02:00
Nikolay Amiantov
2a23d9123e python.pkgs.libgpuarray: 0.6.9 -> 0.7.5 2018-02-25 22:24:09 +03:00
adisbladis
d99378654f pythonPackages: Add version and pname attributes to packages 2017-11-23 17:49:43 +01:00
Nikolay Amiantov
efd2444de5 python.pkgs.libgpuarray: -9998.0 -> 0.6.9 2017-10-19 12:47:30 +03:00