Merge pull request #224150 from nviets/xgboost175

xgboost: 1.7.4 -> 1.7.5

authored by

Rick van Schijndel and committed by
GitHub
c8981de1 aec122af

+11 -3
+11 -3
pkgs/development/libraries/xgboost/default.nix
··· 12 12 , llvmPackages 13 13 , R 14 14 , rPackages 15 - }: 15 + }@inputs: 16 16 17 17 assert ncclSupport -> cudaSupport; 18 18 # Disable regular tests when building the R package ··· 22 22 # tests. 23 23 assert rLibrary -> doCheck != true; 24 24 25 + let 26 + # This ensures xgboost gets the correct libstdc++ when 27 + # built with cuda support. This may be removed once 28 + # #226165 rewrites cudaStdenv 29 + inherit (cudaPackages) backendStdenv; 30 + stdenv = if cudaSupport then backendStdenv else inputs.stdenv; 31 + in 32 + 25 33 stdenv.mkDerivation rec { 26 34 pnameBase = "xgboost"; 27 35 # prefix with r when building the R library ··· 37 45 # in \ 38 46 # rWrapper.override{ packages = [ xgb ]; }" 39 47 pname = lib.optionalString rLibrary "r-" + pnameBase; 40 - version = "1.7.4"; 48 + version = "1.7.5"; 41 49 42 50 src = fetchFromGitHub { 43 51 owner = "dmlc"; 44 52 repo = pnameBase; 45 53 rev = "v${version}"; 46 54 fetchSubmodules = true; 47 - hash = "sha256-HGS9w4g2+Aw5foKjHK/XQvSCnFHUswhzAsQf6XkdvOI="; 55 + hash = "sha256-IBqtyz40VVHdncibnZQAe5oDsjb5isWBYQ6pGx/zt38="; 48 56 }; 49 57 50 58 nativeBuildInputs = [ cmake ]