Merge pull request #291468 from nviets/lightgbm430
lightgbm: 4.1.0 -> 4.3.0
This commit is contained in:
commit
cac55c3d39
1 changed files with 6 additions and 2 deletions
|
@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
|
|||
# in \
|
||||
# rWrapper.override{ packages = [ lgbm ]; }"
|
||||
pname = lib.optionalString rLibrary "r-" + pnameBase;
|
||||
version = "4.1.0";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = pnameBase;
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-AhXe/Mlor/i0y84wI9jVPKSnyVbSyAV52Y4yiNm7yLQ=";
|
||||
hash = "sha256-hEoGdzC6n8t14ZUFWFrdljEkQRo9qaDGYTamvIAgrbg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
|
@ -47,6 +47,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
propagatedBuildInputs = lib.optionals rLibrary [
|
||||
rPackages.data_table
|
||||
rPackages.markdown
|
||||
rPackages.rmarkdown
|
||||
rPackages.jsonlite
|
||||
rPackages.Matrix
|
||||
|
@ -70,6 +71,9 @@ stdenv.mkDerivation rec {
|
|||
--replace \
|
||||
"install_args <- c(\"CMD\", \"INSTALL\", \"--no-multiarch\", \"--with-keep.source\", tarball)" \
|
||||
"install_args <- c(\"CMD\", \"INSTALL\", \"--no-multiarch\", \"--with-keep.source\", \"-l $out/library\", tarball)"
|
||||
|
||||
# Retry this test in next release. Something fails in the setup, so GTEST_FILTER is not enough
|
||||
rm tests/cpp_tests/test_arrow.cpp
|
||||
'';
|
||||
|
||||
cmakeFlags = lib.optionals doCheck [ "-DBUILD_CPP_TEST=ON" ]
|
||||
|
|
Loading…
Reference in a new issue