xgboost: 2016-05-14 -> 0.60
This commit is contained in:
parent
0464600859
commit
0e72026f3e
@ -2,17 +2,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xgboost-${version}";
|
name = "xgboost-${version}";
|
||||||
version = "2016-05-14";
|
version = "0.60";
|
||||||
|
|
||||||
# needs submodules
|
# needs submodules
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/dmlc/xgboost";
|
url = "https://github.com/dmlc/xgboost";
|
||||||
rev = "9c26566eb09733423f821f139938ff4105c3775d";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1d7lnbwxwakclqqfjwyk9w3wd2clkihdr6ljs5z08ydiaspri093";
|
sha256 = "0536vfl59n9vlagl1cpdl06c9y19dscwhwdzvi27zk5nc5qb6rdq";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = "sed '1i#include <cmath>' -i src/tree/param.h";
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user