Skip to content

cudaPackages: split outputs #224533

Closed
Closed

Description

@SomeoneSerge

Issue description

A tracking issue, redirected from #217780

Currently our build-cuda-redist-package.nix puts static archives, executables, and headers with shared libraries into the same output. This means we cannot meaningfully separate buildInputs from nativeBuildInputs, and that CUDAToolkit's static archives end up in runtime closures for packages like jax and pytorch.

Splitting the outputs should be trivial: add an output in build-cuda-redist-package.nix, move .a files to the new output.
There is a chance of breaking discovery for downstream packages though, which may take time to fix

CC @NixOS/cuda-maintainers

Activity

  1. added
    6.topic: cuda
    on Apr 4, 2023
  2. moved this from 🆕 New to Roadmap in CUDA Teamon Apr 12, 2023
  3. added
    3.skill: trivial
    on Apr 12, 2023
  4. nixos-discourse commented on Jun 22, 2023

    @nixos-discourse
  5. self-assigned this
    on Jun 26, 2023
  6. moved this from 🔮 Roadmap to 🏗 In progress in CUDA Teamon Jun 26, 2023
  7. ConnorBaker commented on Jun 26, 2023

    @ConnorBaker
    Contributor

    I'll be working on this.

    #229758 seems important for what we aim to do. I'll correspond with the author to see what their thoughts are.

  8. ConnorBaker commented on Dec 4, 2023

    @ConnorBaker
    Contributor

    Closed by #240498.

  9. moved this from 🏗 In progress to ✅ Done in CUDA Teamon Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.skill: trivial6.topic: cuda

Projects

  • Status
    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions