Merge pull request #216795 from nviets/xgboost174
xgboost: 1.7.3 -> 1.7.4
This commit is contained in:
commit
fc302c3a81
|
@ -37,14 +37,14 @@ stdenv.mkDerivation rec {
|
||||||
# in \
|
# in \
|
||||||
# rWrapper.override{ packages = [ xgb ]; }"
|
# rWrapper.override{ packages = [ xgb ]; }"
|
||||||
pname = lib.optionalString rLibrary "r-" + pnameBase;
|
pname = lib.optionalString rLibrary "r-" + pnameBase;
|
||||||
version = "1.7.3";
|
version = "1.7.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dmlc";
|
owner = "dmlc";
|
||||||
repo = pnameBase;
|
repo = pnameBase;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-unTss2byytG8KUQfg5s34YpRuHHDLo7D/ZickHhz1AE=";
|
hash = "sha256-HGS9w4g2+Aw5foKjHK/XQvSCnFHUswhzAsQf6XkdvOI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ]
|
nativeBuildInputs = [ cmake ]
|
||||||
|
@ -90,6 +90,18 @@ stdenv.mkDerivation rec {
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Disable finicky tests from dmlc core that fail in Hydra. XGboost team
|
||||||
|
# confirmed xgboost itself does not use this part of the dmlc code.
|
||||||
|
GTEST_FILTER =
|
||||||
|
let
|
||||||
|
# Upstream Issue: https://github.com/xtensor-stack/xsimd/issues/456
|
||||||
|
filteredTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
"ThreadGroup.TimerThread"
|
||||||
|
"ThreadGroup.TimerThreadSimple"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
"-${builtins.concatStringsSep ":" filteredTests}";
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
let libname = "libxgboost${stdenv.hostPlatform.extensions.sharedLibrary}";
|
let libname = "libxgboost${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||||
in ''
|
in ''
|
||||||
|
|
Loading…
Reference in a new issue