Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cudaPackages.cuda-samples 12.8 -> 13.1 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..def06323e445 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.1"; # 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.1 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.1" = "sha256-IGPmglHvxnPvckSRs7mJvbCHepOtQoFgeDAhKrVSzE8="; }; }; @@ -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.1/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.1") '' + nixLog "removing sample 4_CUDA_Libraries/watershedSegmentationNPP which requires at least CUDA 13.1" 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.  -- Vulkan not found - will not build sample 'simpleVulkan' -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "") -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) CMake Error at Samples/5_Domain_Specific/simpleVulkanMMAP/CMakeLists.txt:33 (file): file failed to open for reading (No such file or directory): /etc/os-release  -- Vulkan not found - will not build sample 'simpleVulkanMMAP' -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) -- OpenGL not found - will not build sample 'smokeParticles' -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) -- OpenGL not found - will not build sample 'volumeFiltering' -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) -- OpenGL not found - will not build sample 'volumeRender' -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "") -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) CMake Error at Samples/5_Domain_Specific/vulkanImageCUDA/CMakeLists.txt:33 (file): file failed to open for reading (No such file or directory): /etc/os-release  -- Vulkan not found - will not build sample 'vulkanImageCUDA' -- Configuring incomplete, errors occurred!