nixpkgs/pkgs/development/compilers/cudatoolkit
Connor Baker d5e5246e76 cudaPackages: split outputs
This change which involves creating multiple outputs for CUDA
redistributable packages.

We use a script to find out, ahead of time, the outputs each redist
package provides. From that, we are able to create multiple outputs for
supported redist packages, allowing users to specify exactly which
components they require.

Beyond the script which finds outputs ahead of time, there is some custom
code involved in making this happen. For example, the way Nixpkgs
typically handles multiple outputs involves making `dev` the default
output when available, and adding `out` to `dev`'s
`propagatedBuildInputs`.

Instead, we make each output independent of the others. If a user wants
only to include the headers found in a redist package, they can do so by
choosing the `dev` output. If they want to include dynamic libraries,
they can do so by specifying the `lib` output, or `static` for static
libraries.

To avoid breakages, we continue to provide the `out` output, which
becomes the union of all other outputs, effectively making the split
outputs opt-in.
2023-08-31 03:31:55 +00:00
..
hooks cudaPackages: split outputs 2023-08-31 03:31:55 +00:00
redist cudaPackages: split outputs 2023-08-31 03:31:55 +00:00
saxpy cudaPackages.saxpy: init at unstable-2023-07-11 2023-07-20 02:17:56 +03:00
auto-add-opengl-runpath-hook.sh cudaPackages.autoAddOpenGLRunpathHook: don't skip shared libraries 2023-08-22 03:14:47 +03:00
common.nix Merge pull request #235024 from deshaw/upstream-dcgm 2023-07-26 14:48:38 -07:00
extension.nix cudaPackages.saxpy: init at unstable-2023-07-11 2023-07-20 02:17:56 +03:00
flags.nix pkgs: fix typos 2023-05-19 22:31:04 -04:00
gpus.nix cudaPackages: use -Xfatbin=-compress-all; prune default cudaCapabilities 2023-03-10 23:10:57 -05:00
stdenv.nix cudaPackages.backendStdenv: cc and libstdc++ as arguments; expose libstdc++ 2023-04-13 01:45:49 +03:00
versions.toml cudaPackages_12_2.cudatoolkit: init at 12.2.0 2023-07-03 14:35:09 -07:00