Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cudaPackages: replace the FHS paths in pkg-config files #275921

Merged
merged 3 commits into from
Dec 25, 2023

Conversation

SomeoneSerge
Copy link
Contributor

@SomeoneSerge SomeoneSerge commented Dec 22, 2023

Cf. #224119

@NixOS/cuda-maintainers

Description of changes

  • Generically replace libdir = /usr/local/whatever with libdir = ${!outputLib}, etc
  • Test if any FHS references remained
    • See if any of the cudaPackages violate that test
  • Fix the libcuda pkg-config ad hoc
❯ nix build -f ./. --arg config '{ cudaSupport = true; cudaCapabilities = [ "8.6" ]; cudaEnableForwardCompat = false; allowUnfree = true; }' -L cudaPackages.cuda_cudart.dev
❯ cat result-dev/share/pkg-config/cuda-11.8.pc 
cudaroot=/nix/store/45366qi6nxycj2x195n7qshma0dkyq8j-cuda_cudart-11.8.89-dev
libdir=/nix/store/aqm4p2f28bas1zy2fk0kf4spmf29ywq8-cuda_cudart-11.8.89-lib/lib/stubs
includedir=/nix/store/45366qi6nxycj2x195n7qshma0dkyq8j-cuda_cudart-11.8.89-dev/include

Name: cuda
Description: CUDA Driver Library
Version: 11.8
Libs:  -L${libdir} -lcuda -Wl,-rpath,/run/opengl-driver/lib
Cflags: -I${includedir}
❯ cat result-dev/share/pkg-config/cudart-11.8.pc 
cudaroot=/nix/store/45366qi6nxycj2x195n7qshma0dkyq8j-cuda_cudart-11.8.89-dev
libdir=/nix/store/aqm4p2f28bas1zy2fk0kf4spmf29ywq8-cuda_cudart-11.8.89-lib/lib
includedir=/nix/store/45366qi6nxycj2x195n7qshma0dkyq8j-cuda_cudart-11.8.89-dev/include

Name: cudart
Description: CUDA Runtime Library
Version: 11.8
Libs: -L${libdir} -lcudart
Cflags: -I${includedir}

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@SomeoneSerge SomeoneSerge added the 6.topic: cuda Parallel computing platform and API label Dec 22, 2023
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 101-500 labels Dec 22, 2023
@ofborg ofborg bot requested a review from aidalgol December 22, 2023 01:42
@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Dec 22, 2023
@SomeoneSerge
Copy link
Contributor Author

(squashed the fixup)

Thanks @aidalgol! I think we still need to run the builds to see that e.g. the FHS scan didn't break any more packages

@ofborg ofborg bot requested a review from aidalgol December 22, 2023 01:52
@delroth delroth removed the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Dec 22, 2023
@delroth delroth added 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Dec 24, 2023
@delroth delroth removed the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Dec 25, 2023
@SomeoneSerge
Copy link
Contributor Author

SomeoneSerge commented Dec 25, 2023

Result of nixpkgs-review pr 275921 --extra-nixpkgs-config '{ cudaSupport = true; cudaCapabilities = [ "8.6" ]; cudaEnableForwardCompat = false; }' run on x86_64-linux 1

41 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • cudaPackages.nvidia_driver.bin
  • cudaPackages.nvidia_driver.lib
  • cudaPackages.tensorrt_8_5
  • cudaPackages.tensorrt_8_5.bin
  • cudaPackages.tensorrt_8_5.dev
  • cudaPackages.tensorrt_8_5.lib
  • cudaPackages.tensorrt_8_5.python
  • cudaPackages.tensorrt_8_5.sample
  • cudaPackages.tensorrt_8_5.static
  • cudaPackages_10.tensorrt
  • cudaPackages_10.tensorrt.bin
  • cudaPackages_10.tensorrt.dev
  • cudaPackages_10.tensorrt.lib
  • cudaPackages_10.tensorrt.python
  • cudaPackages_10.tensorrt.sample
  • cudaPackages_10.tensorrt.static
  • cudaPackages_10.tensorrt_8_0
  • cudaPackages_10.tensorrt_8_0.bin
  • cudaPackages_10.tensorrt_8_0.dev
  • cudaPackages_10.tensorrt_8_0.lib
  • cudaPackages_10.tensorrt_8_0.python
  • cudaPackages_10.tensorrt_8_0.sample
  • cudaPackages_10.tensorrt_8_0.static
  • cudaPackages_10.tensorrt_8_2
  • cudaPackages_10.tensorrt_8_2.bin
  • cudaPackages_10.tensorrt_8_2.dev
  • cudaPackages_10.tensorrt_8_2.lib
  • cudaPackages_10.tensorrt_8_2.python
  • cudaPackages_10.tensorrt_8_2.sample
  • cudaPackages_10.tensorrt_8_2.static
  • cudaPackages_10.tensorrt_8_4
  • cudaPackages_10.tensorrt_8_4.bin
  • cudaPackages_10.tensorrt_8_4.dev
  • cudaPackages_10.tensorrt_8_4.lib
  • cudaPackages_10.tensorrt_8_4.python
  • cudaPackages_10.tensorrt_8_4.sample
  • cudaPackages_10.tensorrt_8_4.static
  • cudaPackages_12.nvidia_driver
  • cudaPackages_12.nvidia_driver.bin
  • cudaPackages_12.nvidia_driver.lib
37 packages failed to build:
  • cudaPackages.cuda_cupti (cudaPackages.cuda_cupti.dev ,cudaPackages.cuda_cupti.lib ,cudaPackages.cuda_cupti.sample ,cudaPackages.cuda_cupti.static)
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb (cudaPackages.cuda_gdb.bin)
  • cudaPackages.cuda_nsight (cudaPackages.cuda_nsight.bin)
  • cudaPackages.cuda_nvml_dev (cudaPackages.cuda_nvml_dev.dev ,cudaPackages.cuda_nvml_dev.lib)
  • cudaPackages.cuda_nvprof (cudaPackages.cuda_nvprof.bin ,cudaPackages.cuda_nvprof.lib)
  • cudaPackages.cuda_nvrtc (cudaPackages.cuda_nvrtc.dev ,cudaPackages.cuda_nvrtc.lib ,cudaPackages.cuda_nvrtc.static)
  • cudaPackages.cuda_nvvp (cudaPackages.cuda_nvvp.bin)
  • cudaPackages.cuda_sanitizer_api (cudaPackages.cuda_sanitizer_api.bin)
  • cudaPackages.fabricmanager (cudaPackages.fabricmanager.bin ,cudaPackages.fabricmanager.dev ,cudaPackages.fabricmanager.lib)
  • cudaPackages.libcufile (cudaPackages.libcufile.dev ,cudaPackages.libcufile.lib ,cudaPackages.libcufile.sample ,cudaPackages.libcufile.static)
  • cudaPackages.libnvidia_nscq (cudaPackages.libnvidia_nscq.lib)
  • cudaPackages.nsight_compute (cudaPackages.nsight_compute.bin)
  • cudaPackages.nsight_systems (cudaPackages.nsight_systems.bin)
  • cudaPackages.nvidia_fs
  • cudaPackages.tensorrt (cudaPackages.tensorrt.bin ,cudaPackages.tensorrt.dev ,cudaPackages.tensorrt.lib ,cudaPackages.tensorrt.python ,cudaPackages.tensorrt.sample ,cudaPackages.tensorrt.static)
  • cudaPackages_10.cudnn_7_6 (cudaPackages_10.cudnn_7_6.dev ,cudaPackages_10.cudnn_7_6.lib ,cudaPackages_10.cudnn_7_6.static)
  • cudaPackages_12.cuda_cupti (cudaPackages_12.cuda_cupti.dev ,cudaPackages_12.cuda_cupti.lib ,cudaPackages_12.cuda_cupti.sample ,cudaPackages_12.cuda_cupti.static)
  • cudaPackages_12.cuda_documentation
  • cudaPackages_12.cuda_gdb (cudaPackages_12.cuda_gdb.bin)
  • cudaPackages_12.cuda_nsight (cudaPackages_12.cuda_nsight.bin)
  • cudaPackages_12.cuda_nvml_dev (cudaPackages_12.cuda_nvml_dev.dev ,cudaPackages_12.cuda_nvml_dev.lib)
  • cudaPackages_12.cuda_nvprof (cudaPackages_12.cuda_nvprof.bin ,cudaPackages_12.cuda_nvprof.lib)
  • cudaPackages_12.cuda_nvrtc (cudaPackages_12.cuda_nvrtc.dev ,cudaPackages_12.cuda_nvrtc.lib ,cudaPackages_12.cuda_nvrtc.static)
  • cudaPackages_12.cuda_nvvp (cudaPackages_12.cuda_nvvp.bin)
  • cudaPackages_12.cuda_sanitizer_api (cudaPackages_12.cuda_sanitizer_api.bin)
  • cudaPackages_12.cutensor_1_3 (cudaPackages_12.cutensor_1_3.dev ,cudaPackages_12.cutensor_1_3.lib ,cudaPackages_12.cutensor_1_3.static)
  • cudaPackages_12.cutensor_1_4 (cudaPackages_12.cutensor_1_4.dev ,cudaPackages_12.cutensor_1_4.lib ,cudaPackages_12.cutensor_1_4.static)
  • cudaPackages_12.cutensor_1_5 (cudaPackages_12.cutensor_1_5.dev ,cudaPackages_12.cutensor_1_5.lib ,cudaPackages_12.cutensor_1_5.static)
  • cudaPackages_12.fabricmanager (cudaPackages_12.fabricmanager.bin ,cudaPackages_12.fabricmanager.dev ,cudaPackages_12.fabricmanager.lib)
  • cudaPackages_12.libcufile (cudaPackages_12.libcufile.dev ,cudaPackages_12.libcufile.lib ,cudaPackages_12.libcufile.sample ,cudaPackages_12.libcufile.static)
  • cudaPackages_12.libnvidia_nscq (cudaPackages_12.libnvidia_nscq.bin ,cudaPackages_12.libnvidia_nscq.dev ,cudaPackages_12.libnvidia_nscq.lib)
  • cudaPackages_12.libnvvm_samples
  • cudaPackages_12.nsight_compute (cudaPackages_12.nsight_compute.bin)
  • cudaPackages_12.nsight_systems (cudaPackages_12.nsight_systems.bin)
  • cudaPackages_12.nvidia_fs
  • cudaPackages_12.tensorrt (cudaPackages_12.tensorrt.bin ,cudaPackages_12.tensorrt.dev ,cudaPackages_12.tensorrt.lib ,cudaPackages_12.tensorrt.python ,cudaPackages_12.tensorrt.sample ,cudaPackages_12.tensorrt.static)
71 packages built:
  • cudaPackages.cuda_cccl (cudaPackages.cuda_cccl.dev)
  • cudaPackages.cuda_cudart (cudaPackages.cuda_cudart.dev ,cudaPackages.cuda_cudart.lib ,cudaPackages.cuda_cudart.static)
  • cudaPackages.cuda_cuobjdump (cudaPackages.cuda_cuobjdump.bin)
  • cudaPackages.cuda_cuxxfilt (cudaPackages.cuda_cuxxfilt.bin ,cudaPackages.cuda_cuxxfilt.dev ,cudaPackages.cuda_cuxxfilt.static)
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_memcheck (cudaPackages.cuda_memcheck.bin)
  • cudaPackages.cuda_nvcc (cudaPackages.cuda_nvcc.bin ,cudaPackages.cuda_nvcc.dev ,cudaPackages.cuda_nvcc.lib ,cudaPackages.cuda_nvcc.static)
  • cudaPackages.cuda_nvdisasm (cudaPackages.cuda_nvdisasm.bin)
  • cudaPackages.cuda_nvprune (cudaPackages.cuda_nvprune.bin)
  • cudaPackages.cuda_nvtx (cudaPackages.cuda_nvtx.dev ,cudaPackages.cuda_nvtx.lib)
  • cudaPackages.cuda_profiler_api (cudaPackages.cuda_profiler_api.dev)
  • cudaPackages.cudnn (cudaPackages.cudnn.dev ,cudaPackages.cudnn.lib ,cudaPackages.cudnn.static)
  • cudaPackages.cudnn_8_6 (cudaPackages.cudnn_8_6.dev ,cudaPackages.cudnn_8_6.lib ,cudaPackages.cudnn_8_6.static)
  • cudaPackages.cudnn_8_7 (cudaPackages.cudnn_8_7.dev ,cudaPackages.cudnn_8_7.lib ,cudaPackages.cudnn_8_7.static)
  • cudaPackages.cudnn_8_8 (cudaPackages.cudnn_8_8.dev ,cudaPackages.cudnn_8_8.lib ,cudaPackages.cudnn_8_8.static)
  • cudaPackages.cutensor (cudaPackages.cutensor.dev ,cudaPackages.cutensor.lib ,cudaPackages.cutensor.static)
  • cudaPackages.cutensor_1_3 (cudaPackages.cutensor_1_3.dev ,cudaPackages.cutensor_1_3.lib ,cudaPackages.cutensor_1_3.static)
  • cudaPackages.cutensor_1_4 (cudaPackages.cutensor_1_4.dev ,cudaPackages.cutensor_1_4.lib ,cudaPackages.cutensor_1_4.static)
  • cudaPackages.cutensor_1_5 (cudaPackages.cutensor_1_5.dev ,cudaPackages.cutensor_1_5.lib ,cudaPackages.cutensor_1_5.static)
  • cudaPackages.cutensor_1_6 (cudaPackages.cutensor_1_6.dev ,cudaPackages.cutensor_1_6.lib ,cudaPackages.cutensor_1_6.static)
  • cudaPackages.libcublas (cudaPackages.libcublas.dev ,cudaPackages.libcublas.lib ,cudaPackages.libcublas.static)
  • cudaPackages.libcufft (cudaPackages.libcufft.dev ,cudaPackages.libcufft.lib ,cudaPackages.libcufft.static)
  • cudaPackages.libcurand (cudaPackages.libcurand.dev ,cudaPackages.libcurand.lib ,cudaPackages.libcurand.static)
  • cudaPackages.libcusolver (cudaPackages.libcusolver.dev ,cudaPackages.libcusolver.lib ,cudaPackages.libcusolver.static)
  • cudaPackages.libcusparse (cudaPackages.libcusparse.dev ,cudaPackages.libcusparse.lib ,cudaPackages.libcusparse.static)
  • cudaPackages.libnpp (cudaPackages.libnpp.dev ,cudaPackages.libnpp.lib ,cudaPackages.libnpp.static)
  • cudaPackages.libnvjpeg (cudaPackages.libnvjpeg.dev ,cudaPackages.libnvjpeg.lib ,cudaPackages.libnvjpeg.static)
  • cudaPackages.nccl
  • cudaPackages.nccl-tests
  • cudaPackages.nccl.dev
  • cudaPackages.saxpy
  • cudaPackages_10.cudnn (cudaPackages_10.cudnn.dev ,cudaPackages_10.cudnn.lib ,cudaPackages_10.cudnn.static)
  • cudaPackages_10.cudnn_8_0 (cudaPackages_10.cudnn_8_0.dev ,cudaPackages_10.cudnn_8_0.lib ,cudaPackages_10.cudnn_8_0.static)
  • cudaPackages_10.cudnn_8_1 (cudaPackages_10.cudnn_8_1.dev ,cudaPackages_10.cudnn_8_1.lib ,cudaPackages_10.cudnn_8_1.static)
  • cudaPackages_10.cudnn_8_2 (cudaPackages_10.cudnn_8_2.dev ,cudaPackages_10.cudnn_8_2.lib ,cudaPackages_10.cudnn_8_2.static)
  • cudaPackages_10.cudnn_8_3 (cudaPackages_10.cudnn_8_3.dev ,cudaPackages_10.cudnn_8_3.lib ,cudaPackages_10.cudnn_8_3.static)
  • cudaPackages_10.cudnn_8_4 (cudaPackages_10.cudnn_8_4.dev ,cudaPackages_10.cudnn_8_4.lib ,cudaPackages_10.cudnn_8_4.static)
  • cudaPackages_10.cudnn_8_5 (cudaPackages_10.cudnn_8_5.dev ,cudaPackages_10.cudnn_8_5.lib ,cudaPackages_10.cudnn_8_5.static)
  • cudaPackages_10.cudnn_8_6 (cudaPackages_10.cudnn_8_6.dev ,cudaPackages_10.cudnn_8_6.lib ,cudaPackages_10.cudnn_8_6.static)
  • cudaPackages_10.cutensor (cudaPackages_10.cutensor.dev ,cudaPackages_10.cutensor.lib ,cudaPackages_10.cutensor.static)
  • cudaPackages_10.cutensor_1_3 (cudaPackages_10.cutensor_1_3.dev ,cudaPackages_10.cutensor_1_3.lib ,cudaPackages_10.cutensor_1_3.static)
  • cudaPackages_10.cutensor_1_4 (cudaPackages_10.cutensor_1_4.dev ,cudaPackages_10.cutensor_1_4.lib ,cudaPackages_10.cutensor_1_4.static)
  • cudaPackages_10.cutensor_1_5 (cudaPackages_10.cutensor_1_5.dev ,cudaPackages_10.cutensor_1_5.lib ,cudaPackages_10.cutensor_1_5.static)
  • cudaPackages_10.cutensor_1_6 (cudaPackages_10.cutensor_1_6.dev ,cudaPackages_10.cutensor_1_6.lib ,cudaPackages_10.cutensor_1_6.static)
  • cudaPackages_12.cuda_cccl (cudaPackages_12.cuda_cccl.dev)
  • cudaPackages_12.cuda_cudart (cudaPackages_12.cuda_cudart.dev ,cudaPackages_12.cuda_cudart.lib ,cudaPackages_12.cuda_cudart.static)
  • cudaPackages_12.cuda_cuobjdump (cudaPackages_12.cuda_cuobjdump.bin)
  • cudaPackages_12.cuda_cuxxfilt (cudaPackages_12.cuda_cuxxfilt.bin ,cudaPackages_12.cuda_cuxxfilt.dev ,cudaPackages_12.cuda_cuxxfilt.static)
  • cudaPackages_12.cuda_demo_suite
  • cudaPackages_12.cuda_nvcc (cudaPackages_12.cuda_nvcc.bin ,cudaPackages_12.cuda_nvcc.dev ,cudaPackages_12.cuda_nvcc.lib ,cudaPackages_12.cuda_nvcc.static)
  • cudaPackages_12.cuda_nvdisasm (cudaPackages_12.cuda_nvdisasm.bin)
  • cudaPackages_12.cuda_nvprune (cudaPackages_12.cuda_nvprune.bin)
  • cudaPackages_12.cuda_nvtx (cudaPackages_12.cuda_nvtx.dev ,cudaPackages_12.cuda_nvtx.lib)
  • cudaPackages_12.cuda_opencl (cudaPackages_12.cuda_opencl.dev ,cudaPackages_12.cuda_opencl.lib)
  • cudaPackages_12.cuda_profiler_api (cudaPackages_12.cuda_profiler_api.dev)
  • cudaPackages_12.cudnn (cudaPackages_12.cudnn.dev ,cudaPackages_12.cudnn.lib ,cudaPackages_12.cudnn.static)
  • cudaPackages_12.cudnn_8_8 (cudaPackages_12.cudnn_8_8.dev ,cudaPackages_12.cudnn_8_8.lib ,cudaPackages_12.cudnn_8_8.static)
  • cudaPackages_12.cutensor (cudaPackages_12.cutensor.dev ,cudaPackages_12.cutensor.lib ,cudaPackages_12.cutensor.static)
  • cudaPackages_12.cutensor_1_6 (cudaPackages_12.cutensor_1_6.dev ,cudaPackages_12.cutensor_1_6.lib ,cudaPackages_12.cutensor_1_6.static)
  • cudaPackages_12.libcublas (cudaPackages_12.libcublas.dev ,cudaPackages_12.libcublas.lib ,cudaPackages_12.libcublas.static)
  • cudaPackages_12.libcufft (cudaPackages_12.libcufft.dev ,cudaPackages_12.libcufft.lib ,cudaPackages_12.libcufft.static)
  • cudaPackages_12.libcurand (cudaPackages_12.libcurand.dev ,cudaPackages_12.libcurand.lib ,cudaPackages_12.libcurand.static)
  • cudaPackages_12.libcusolver (cudaPackages_12.libcusolver.dev ,cudaPackages_12.libcusolver.lib ,cudaPackages_12.libcusolver.static)
  • cudaPackages_12.libcusparse (cudaPackages_12.libcusparse.dev ,cudaPackages_12.libcusparse.lib ,cudaPackages_12.libcusparse.static)
  • cudaPackages_12.libnpp (cudaPackages_12.libnpp.dev ,cudaPackages_12.libnpp.lib ,cudaPackages_12.libnpp.static)
  • cudaPackages_12.libnvjitlink (cudaPackages_12.libnvjitlink.dev ,cudaPackages_12.libnvjitlink.lib ,cudaPackages_12.libnvjitlink.static)
  • cudaPackages_12.libnvjpeg (cudaPackages_12.libnvjpeg.dev ,cudaPackages_12.libnvjpeg.lib ,cudaPackages_12.libnvjpeg.static)
  • cudaPackages_12.nccl
  • cudaPackages_12.nccl-tests
  • cudaPackages_12.nccl.dev
  • cudaPackages_12.saxpy

Logs: https://gist.github.com/SomeoneSerge/cf6f131abb2f71f55996dc86104edbc6

Most of these fail with "Detected references to /usr" so I'm going to make allowFHSReferences = true the default for now.

@ofborg ofborg bot requested review from aidalgol and samuela December 25, 2023 00:36
@SomeoneSerge
Copy link
Contributor Author

SomeoneSerge commented Dec 25, 2023

Result of nixpkgs-review pr 275921 --extra-nixpkgs-config '{ cudaSupport = true; cudaCapabilities = [ "8.6" ]; cudaEnableForwardCompat = false; }' run on x86_64-linux 1

41 packages marked as broken and skipped:
  • cudaPackages.nvidia_driver
  • cudaPackages.nvidia_driver.bin
  • cudaPackages.nvidia_driver.lib
  • cudaPackages.tensorrt_8_5
  • cudaPackages.tensorrt_8_5.bin
  • cudaPackages.tensorrt_8_5.dev
  • cudaPackages.tensorrt_8_5.lib
  • cudaPackages.tensorrt_8_5.python
  • cudaPackages.tensorrt_8_5.sample
  • cudaPackages.tensorrt_8_5.static
  • cudaPackages_10.tensorrt
  • cudaPackages_10.tensorrt.bin
  • cudaPackages_10.tensorrt.dev
  • cudaPackages_10.tensorrt.lib
  • cudaPackages_10.tensorrt.python
  • cudaPackages_10.tensorrt.sample
  • cudaPackages_10.tensorrt.static
  • cudaPackages_10.tensorrt_8_0
  • cudaPackages_10.tensorrt_8_0.bin
  • cudaPackages_10.tensorrt_8_0.dev
  • cudaPackages_10.tensorrt_8_0.lib
  • cudaPackages_10.tensorrt_8_0.python
  • cudaPackages_10.tensorrt_8_0.sample
  • cudaPackages_10.tensorrt_8_0.static
  • cudaPackages_10.tensorrt_8_2
  • cudaPackages_10.tensorrt_8_2.bin
  • cudaPackages_10.tensorrt_8_2.dev
  • cudaPackages_10.tensorrt_8_2.lib
  • cudaPackages_10.tensorrt_8_2.python
  • cudaPackages_10.tensorrt_8_2.sample
  • cudaPackages_10.tensorrt_8_2.static
  • cudaPackages_10.tensorrt_8_4
  • cudaPackages_10.tensorrt_8_4.bin
  • cudaPackages_10.tensorrt_8_4.dev
  • cudaPackages_10.tensorrt_8_4.lib
  • cudaPackages_10.tensorrt_8_4.python
  • cudaPackages_10.tensorrt_8_4.sample
  • cudaPackages_10.tensorrt_8_4.static
  • cudaPackages_12.nvidia_driver
  • cudaPackages_12.nvidia_driver.bin
  • cudaPackages_12.nvidia_driver.lib
8 packages failed to build:
  • cudaPackages.nsight_systems (cudaPackages.nsight_systems.bin)
  • cudaPackages.tensorrt (cudaPackages.tensorrt.bin ,cudaPackages.tensorrt.dev ,cudaPackages.tensorrt.lib ,cudaPackages.tensorrt.python ,cudaPackages.tensorrt.sample ,cudaPackages.tensorrt.static)
  • cudaPackages_12.cutensor_1_3 (cudaPackages_12.cutensor_1_3.dev ,cudaPackages_12.cutensor_1_3.lib ,cudaPackages_12.cutensor_1_3.static)
  • cudaPackages_12.cutensor_1_4 (cudaPackages_12.cutensor_1_4.dev ,cudaPackages_12.cutensor_1_4.lib ,cudaPackages_12.cutensor_1_4.static)
  • cudaPackages_12.cutensor_1_5 (cudaPackages_12.cutensor_1_5.dev ,cudaPackages_12.cutensor_1_5.lib ,cudaPackages_12.cutensor_1_5.static)
  • cudaPackages_12.nsight_compute (cudaPackages_12.nsight_compute.bin)
  • cudaPackages_12.nsight_systems (cudaPackages_12.nsight_systems.bin)
  • cudaPackages_12.tensorrt (cudaPackages_12.tensorrt.bin ,cudaPackages_12.tensorrt.dev ,cudaPackages_12.tensorrt.lib ,cudaPackages_12.tensorrt.python ,cudaPackages_12.tensorrt.sample ,cudaPackages_12.tensorrt.static)
100 packages built:
  • cudaPackages.cuda_cccl (cudaPackages.cuda_cccl.dev)
  • cudaPackages.cuda_cudart (cudaPackages.cuda_cudart.dev ,cudaPackages.cuda_cudart.lib ,cudaPackages.cuda_cudart.static)
  • cudaPackages.cuda_cuobjdump (cudaPackages.cuda_cuobjdump.bin)
  • cudaPackages.cuda_cupti (cudaPackages.cuda_cupti.dev ,cudaPackages.cuda_cupti.lib ,cudaPackages.cuda_cupti.sample ,cudaPackages.cuda_cupti.static)
  • cudaPackages.cuda_cuxxfilt (cudaPackages.cuda_cuxxfilt.bin ,cudaPackages.cuda_cuxxfilt.dev ,cudaPackages.cuda_cuxxfilt.static)
  • cudaPackages.cuda_demo_suite
  • cudaPackages.cuda_documentation
  • cudaPackages.cuda_gdb (cudaPackages.cuda_gdb.bin)
  • cudaPackages.cuda_memcheck (cudaPackages.cuda_memcheck.bin)
  • cudaPackages.cuda_nsight (cudaPackages.cuda_nsight.bin)
  • cudaPackages.cuda_nvcc (cudaPackages.cuda_nvcc.bin ,cudaPackages.cuda_nvcc.dev ,cudaPackages.cuda_nvcc.lib ,cudaPackages.cuda_nvcc.static)
  • cudaPackages.cuda_nvdisasm (cudaPackages.cuda_nvdisasm.bin)
  • cudaPackages.cuda_nvml_dev (cudaPackages.cuda_nvml_dev.dev ,cudaPackages.cuda_nvml_dev.lib)
  • cudaPackages.cuda_nvprof (cudaPackages.cuda_nvprof.bin ,cudaPackages.cuda_nvprof.lib)
  • cudaPackages.cuda_nvprune (cudaPackages.cuda_nvprune.bin)
  • cudaPackages.cuda_nvrtc (cudaPackages.cuda_nvrtc.dev ,cudaPackages.cuda_nvrtc.lib ,cudaPackages.cuda_nvrtc.static)
  • cudaPackages.cuda_nvtx (cudaPackages.cuda_nvtx.dev ,cudaPackages.cuda_nvtx.lib)
  • cudaPackages.cuda_nvvp (cudaPackages.cuda_nvvp.bin)
  • cudaPackages.cuda_profiler_api (cudaPackages.cuda_profiler_api.dev)
  • cudaPackages.cuda_sanitizer_api (cudaPackages.cuda_sanitizer_api.bin)
  • cudaPackages.cudnn (cudaPackages.cudnn.dev ,cudaPackages.cudnn.lib ,cudaPackages.cudnn.static)
  • cudaPackages.cudnn_8_6 (cudaPackages.cudnn_8_6.dev ,cudaPackages.cudnn_8_6.lib ,cudaPackages.cudnn_8_6.static)
  • cudaPackages.cudnn_8_7 (cudaPackages.cudnn_8_7.dev ,cudaPackages.cudnn_8_7.lib ,cudaPackages.cudnn_8_7.static)
  • cudaPackages.cudnn_8_8 (cudaPackages.cudnn_8_8.dev ,cudaPackages.cudnn_8_8.lib ,cudaPackages.cudnn_8_8.static)
  • cudaPackages.cutensor (cudaPackages.cutensor.dev ,cudaPackages.cutensor.lib ,cudaPackages.cutensor.static)
  • cudaPackages.cutensor_1_3 (cudaPackages.cutensor_1_3.dev ,cudaPackages.cutensor_1_3.lib ,cudaPackages.cutensor_1_3.static)
  • cudaPackages.cutensor_1_4 (cudaPackages.cutensor_1_4.dev ,cudaPackages.cutensor_1_4.lib ,cudaPackages.cutensor_1_4.static)
  • cudaPackages.cutensor_1_5 (cudaPackages.cutensor_1_5.dev ,cudaPackages.cutensor_1_5.lib ,cudaPackages.cutensor_1_5.static)
  • cudaPackages.cutensor_1_6 (cudaPackages.cutensor_1_6.dev ,cudaPackages.cutensor_1_6.lib ,cudaPackages.cutensor_1_6.static)
  • cudaPackages.fabricmanager (cudaPackages.fabricmanager.bin ,cudaPackages.fabricmanager.dev ,cudaPackages.fabricmanager.lib)
  • cudaPackages.libcublas (cudaPackages.libcublas.dev ,cudaPackages.libcublas.lib ,cudaPackages.libcublas.static)
  • cudaPackages.libcufft (cudaPackages.libcufft.dev ,cudaPackages.libcufft.lib ,cudaPackages.libcufft.static)
  • cudaPackages.libcufile (cudaPackages.libcufile.dev ,cudaPackages.libcufile.lib ,cudaPackages.libcufile.sample ,cudaPackages.libcufile.static)
  • cudaPackages.libcurand (cudaPackages.libcurand.dev ,cudaPackages.libcurand.lib ,cudaPackages.libcurand.static)
  • cudaPackages.libcusolver (cudaPackages.libcusolver.dev ,cudaPackages.libcusolver.lib ,cudaPackages.libcusolver.static)
  • cudaPackages.libcusparse (cudaPackages.libcusparse.dev ,cudaPackages.libcusparse.lib ,cudaPackages.libcusparse.static)
  • cudaPackages.libnpp (cudaPackages.libnpp.dev ,cudaPackages.libnpp.lib ,cudaPackages.libnpp.static)
  • cudaPackages.libnvidia_nscq (cudaPackages.libnvidia_nscq.lib)
  • cudaPackages.libnvjpeg (cudaPackages.libnvjpeg.dev ,cudaPackages.libnvjpeg.lib ,cudaPackages.libnvjpeg.static)
  • cudaPackages.nccl
  • cudaPackages.nccl-tests
  • cudaPackages.nccl.dev
  • cudaPackages.nsight_compute (cudaPackages.nsight_compute.bin)
  • cudaPackages.nvidia_fs
  • cudaPackages.saxpy
  • cudaPackages_10.cudnn (cudaPackages_10.cudnn.dev ,cudaPackages_10.cudnn.lib ,cudaPackages_10.cudnn.static)
  • cudaPackages_10.cudnn_7_6 (cudaPackages_10.cudnn_7_6.dev ,cudaPackages_10.cudnn_7_6.lib ,cudaPackages_10.cudnn_7_6.static)
  • cudaPackages_10.cudnn_8_0 (cudaPackages_10.cudnn_8_0.dev ,cudaPackages_10.cudnn_8_0.lib ,cudaPackages_10.cudnn_8_0.static)
  • cudaPackages_10.cudnn_8_1 (cudaPackages_10.cudnn_8_1.dev ,cudaPackages_10.cudnn_8_1.lib ,cudaPackages_10.cudnn_8_1.static)
  • cudaPackages_10.cudnn_8_2 (cudaPackages_10.cudnn_8_2.dev ,cudaPackages_10.cudnn_8_2.lib ,cudaPackages_10.cudnn_8_2.static)
  • cudaPackages_10.cudnn_8_3 (cudaPackages_10.cudnn_8_3.dev ,cudaPackages_10.cudnn_8_3.lib ,cudaPackages_10.cudnn_8_3.static)
  • cudaPackages_10.cudnn_8_4 (cudaPackages_10.cudnn_8_4.dev ,cudaPackages_10.cudnn_8_4.lib ,cudaPackages_10.cudnn_8_4.static)
  • cudaPackages_10.cudnn_8_5 (cudaPackages_10.cudnn_8_5.dev ,cudaPackages_10.cudnn_8_5.lib ,cudaPackages_10.cudnn_8_5.static)
  • cudaPackages_10.cudnn_8_6 (cudaPackages_10.cudnn_8_6.dev ,cudaPackages_10.cudnn_8_6.lib ,cudaPackages_10.cudnn_8_6.static)
  • cudaPackages_10.cutensor (cudaPackages_10.cutensor.dev ,cudaPackages_10.cutensor.lib ,cudaPackages_10.cutensor.static)
  • cudaPackages_10.cutensor_1_3 (cudaPackages_10.cutensor_1_3.dev ,cudaPackages_10.cutensor_1_3.lib ,cudaPackages_10.cutensor_1_3.static)
  • cudaPackages_10.cutensor_1_4 (cudaPackages_10.cutensor_1_4.dev ,cudaPackages_10.cutensor_1_4.lib ,cudaPackages_10.cutensor_1_4.static)
  • cudaPackages_10.cutensor_1_5 (cudaPackages_10.cutensor_1_5.dev ,cudaPackages_10.cutensor_1_5.lib ,cudaPackages_10.cutensor_1_5.static)
  • cudaPackages_10.cutensor_1_6 (cudaPackages_10.cutensor_1_6.dev ,cudaPackages_10.cutensor_1_6.lib ,cudaPackages_10.cutensor_1_6.static)
  • cudaPackages_12.cuda_cccl (cudaPackages_12.cuda_cccl.dev)
  • cudaPackages_12.cuda_cudart (cudaPackages_12.cuda_cudart.dev ,cudaPackages_12.cuda_cudart.lib ,cudaPackages_12.cuda_cudart.static)
  • cudaPackages_12.cuda_cuobjdump (cudaPackages_12.cuda_cuobjdump.bin)
  • cudaPackages_12.cuda_cupti (cudaPackages_12.cuda_cupti.dev ,cudaPackages_12.cuda_cupti.lib ,cudaPackages_12.cuda_cupti.sample ,cudaPackages_12.cuda_cupti.static)
  • cudaPackages_12.cuda_cuxxfilt (cudaPackages_12.cuda_cuxxfilt.bin ,cudaPackages_12.cuda_cuxxfilt.dev ,cudaPackages_12.cuda_cuxxfilt.static)
  • cudaPackages_12.cuda_demo_suite
  • cudaPackages_12.cuda_documentation
  • cudaPackages_12.cuda_gdb (cudaPackages_12.cuda_gdb.bin)
  • cudaPackages_12.cuda_nsight (cudaPackages_12.cuda_nsight.bin)
  • cudaPackages_12.cuda_nvcc (cudaPackages_12.cuda_nvcc.bin ,cudaPackages_12.cuda_nvcc.dev ,cudaPackages_12.cuda_nvcc.lib ,cudaPackages_12.cuda_nvcc.static)
  • cudaPackages_12.cuda_nvdisasm (cudaPackages_12.cuda_nvdisasm.bin)
  • cudaPackages_12.cuda_nvml_dev (cudaPackages_12.cuda_nvml_dev.dev ,cudaPackages_12.cuda_nvml_dev.lib)
  • cudaPackages_12.cuda_nvprof (cudaPackages_12.cuda_nvprof.bin ,cudaPackages_12.cuda_nvprof.lib)
  • cudaPackages_12.cuda_nvprune (cudaPackages_12.cuda_nvprune.bin)
  • cudaPackages_12.cuda_nvrtc (cudaPackages_12.cuda_nvrtc.dev ,cudaPackages_12.cuda_nvrtc.lib ,cudaPackages_12.cuda_nvrtc.static)
  • cudaPackages_12.cuda_nvtx (cudaPackages_12.cuda_nvtx.dev ,cudaPackages_12.cuda_nvtx.lib)
  • cudaPackages_12.cuda_nvvp (cudaPackages_12.cuda_nvvp.bin)
  • cudaPackages_12.cuda_opencl (cudaPackages_12.cuda_opencl.dev ,cudaPackages_12.cuda_opencl.lib)
  • cudaPackages_12.cuda_profiler_api (cudaPackages_12.cuda_profiler_api.dev)
  • cudaPackages_12.cuda_sanitizer_api (cudaPackages_12.cuda_sanitizer_api.bin)
  • cudaPackages_12.cudnn (cudaPackages_12.cudnn.dev ,cudaPackages_12.cudnn.lib ,cudaPackages_12.cudnn.static)
  • cudaPackages_12.cudnn_8_8 (cudaPackages_12.cudnn_8_8.dev ,cudaPackages_12.cudnn_8_8.lib ,cudaPackages_12.cudnn_8_8.static)
  • cudaPackages_12.cutensor (cudaPackages_12.cutensor.dev ,cudaPackages_12.cutensor.lib ,cudaPackages_12.cutensor.static)
  • cudaPackages_12.cutensor_1_6 (cudaPackages_12.cutensor_1_6.dev ,cudaPackages_12.cutensor_1_6.lib ,cudaPackages_12.cutensor_1_6.static)
  • cudaPackages_12.fabricmanager (cudaPackages_12.fabricmanager.bin ,cudaPackages_12.fabricmanager.dev ,cudaPackages_12.fabricmanager.lib)
  • cudaPackages_12.libcublas (cudaPackages_12.libcublas.dev ,cudaPackages_12.libcublas.lib ,cudaPackages_12.libcublas.static)
  • cudaPackages_12.libcufft (cudaPackages_12.libcufft.dev ,cudaPackages_12.libcufft.lib ,cudaPackages_12.libcufft.static)
  • cudaPackages_12.libcufile (cudaPackages_12.libcufile.dev ,cudaPackages_12.libcufile.lib ,cudaPackages_12.libcufile.sample ,cudaPackages_12.libcufile.static)
  • cudaPackages_12.libcurand (cudaPackages_12.libcurand.dev ,cudaPackages_12.libcurand.lib ,cudaPackages_12.libcurand.static)
  • cudaPackages_12.libcusolver (cudaPackages_12.libcusolver.dev ,cudaPackages_12.libcusolver.lib ,cudaPackages_12.libcusolver.static)
  • cudaPackages_12.libcusparse (cudaPackages_12.libcusparse.dev ,cudaPackages_12.libcusparse.lib ,cudaPackages_12.libcusparse.static)
  • cudaPackages_12.libnpp (cudaPackages_12.libnpp.dev ,cudaPackages_12.libnpp.lib ,cudaPackages_12.libnpp.static)
  • cudaPackages_12.libnvidia_nscq (cudaPackages_12.libnvidia_nscq.bin ,cudaPackages_12.libnvidia_nscq.dev ,cudaPackages_12.libnvidia_nscq.lib)
  • cudaPackages_12.libnvjitlink (cudaPackages_12.libnvjitlink.dev ,cudaPackages_12.libnvjitlink.lib ,cudaPackages_12.libnvjitlink.static)
  • cudaPackages_12.libnvjpeg (cudaPackages_12.libnvjpeg.dev ,cudaPackages_12.libnvjpeg.lib ,cudaPackages_12.libnvjpeg.static)
  • cudaPackages_12.libnvvm_samples
  • cudaPackages_12.nccl
  • cudaPackages_12.nccl-tests
  • cudaPackages_12.nccl.dev
  • cudaPackages_12.nvidia_fs
  • cudaPackages_12.saxpy

Logs: https://gist.github.com/SomeoneSerge/58537247af3cabcffb57465005497f65

  • Tracking cutensor in cudaPackages_12.cutensor_1_{3,4,5}: build broken #276594
  • nsight_{compute,systems} have got too many vendored dependencies that we should be removing; maybe we can update the manifest generator to produce a while list of files e.g. by filtering out sonames present in the public nix-index

Neither are related to this PR

@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Dec 25, 2023
@SomeoneSerge SomeoneSerge merged commit e44ac85 into NixOS:master Dec 25, 2023
22 of 23 checks passed
Comment on lines +125 to +129
if [[ -d pkg-config ]] ; then
mkdir -p share/pkg-config
mv pkg-config/* share/pkg-config/
rmdir pkg-config
fi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addToSearchPath "PKG_CONFIG_PATH${role_post}" "$1/lib/pkgconfig"
addToSearchPath "PKG_CONFIG_PATH${role_post}" "$1/share/pkgconfig"
}

🤦🏻 🤦🏻 🤦🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cuda Parallel computing platform and API 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 101-500 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants