Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cudaPackages.cuda-samples 12.8 -> 13.3 https://github.com/NVIDIA/cuda-samples/releases attrpath: cudaPackages.cuda-samples Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/development/cuda-modules/packages/cuda-samples.nix b/pkgs/development/cuda-modules/packages/cuda-samples.nix index 2261509e1317..69ce3582377e 100644 --- a/pkgs/development/cuda-modules/packages/cuda-samples.nix +++ b/pkgs/development/cuda-modules/packages/cuda-samples.nix @@ -32,18 +32,18 @@ backendStdenv.mkDerivation (finalAttrs: { name = "${cudaNamePrefix}-${finalAttrs.pname}-${finalAttrs.version}"; pname = "cuda-samples"; - version = if cudaAtLeast "13" then "13.0" else "12.8"; + version = if cudaAtLeast "13" then "13.0" else "13.3"; # We should be able to use samples from the latest version of CUDA # on most of the CUDA package sets we have. - # Plus, 12.8 and later are rewritten to use CMake which makes it much, much easier to build. + # Plus, 13.3 and later are rewritten to use CMake which makes it much, much easier to build. src = fetchFromGitHub { owner = "NVIDIA"; repo = "cuda-samples"; tag = "v${finalAttrs.version}"; hash = lib.getAttr finalAttrs.version { "13.0" = "sha256-bOcAE/OzOI6MWTh+bFZfq1en6Yawu+HI8W+xK+XaCqg="; - "12.8" = "sha256-Ba0Fi0v/sQ+1iJ4mslgyIAE+oK5KO0lMoTQCC91vpiA="; + "13.3" = "sha256-ETBXIllH5gVJ+Piz7JkifEJN2htr1IvjGz2b3Nu4jCg="; }; }; @@ -140,13 +140,13 @@ backendStdenv.mkDerivation (finalAttrs: { "\''${CUDAToolkit_LIBRARY_DIR}/libnvJitLink.so" \ "${lib.getLib libnvjitlink}/lib/libnvJitLink.so" '' - # /build/NVIDIA-cuda-samples-v12.8/Samples/4_CUDA_Libraries/watershedSegmentationNPP/watershedSegmentationNPP.cpp:272:80: error: cannot convert 'size_t*' {aka 'long unsigned int*'} to 'int*' + # /build/NVIDIA-cuda-samples-v13.3/Samples/4_CUDA_Libraries/watershedSegmentationNPP/watershedSegmentationNPP.cpp:272:80: error: cannot convert 'size_t*' {aka 'long unsigned int*'} to 'int*' # 272 | nppStatus = nppiSegmentWatershedGetBufferSize_8u_C1R(oSizeROI[nImage], &aSegmentationScratchBufferSize[nImage]); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | size_t* {aka long unsigned int*} - + lib.optionalString (cudaOlder "12.8") '' - nixLog "removing sample 4_CUDA_Libraries/watershedSegmentationNPP which requires at least CUDA 12.8" + + lib.optionalString (cudaOlder "13.3") '' + nixLog "removing sample 4_CUDA_Libraries/watershedSegmentationNPP which requires at least CUDA 13.3" substituteInPlace \ "$NIX_BUILD_TOP/$sourceRoot/Samples/4_CUDA_Libraries/CMakeLists.txt" \ --replace-fail \ Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A cudaPackages.cuda-samples nix build failed. got build log for 'cudaPackages.cuda-samples' from 'daemon' structuredAttrs is enabled Sourcing auto-add-driver-runpath-hook Using autoAddDriverRunpath Sourcing fix-elf-files.sh Sourcing setup-cuda-hook source: sourcing removeStubsFromRunpathHook.bash (hostOffset=0) (targetOffset=1) source: added removeStubsFromRunpathHookRegistration to prePhases Sourcing fix-elf-files.sh Running phase: removeStubsFromRunpathHookRegistration @nix { "action": "setPhase", "phase": "removeStubsFromRunpathHookRegistration" } removeStubsFromRunpathHookRegistration: discovered 'autoFixElfFiles addDriverRunpath' in postFixupHooks; this hook should be unnecessary when linking against stub files! removeStubsFromRunpathHookRegistration: added removeStubsFromRunpath to postFixupHooks Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/zmb10hf09j5ljp3xf01qag32ggd303cb-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } prePatch: removing sample 0_Introduction/UnifiedMemoryStreams which requires OpenMP support for CUDA substitute(): ERROR: file '/build/source/Samples/0_Introduction/CMakeLists.txt' does not exist