diff options
-rw-r--r-- | misc/xgboost/Makefile | 3 | ||||
-rw-r--r-- | misc/xgboost/distinfo | 6 | ||||
-rw-r--r-- | misc/xgboost/files/patch-src_common_json.cc | 11 | ||||
-rw-r--r-- | misc/xgboost/files/patch-src_common_timer.cc | 14 |
4 files changed, 4 insertions, 30 deletions
diff --git a/misc/xgboost/Makefile b/misc/xgboost/Makefile index 7167e1984052..524da4811b1d 100644 --- a/misc/xgboost/Makefile +++ b/misc/xgboost/Makefile @@ -2,8 +2,7 @@ PORTNAME= xgboost DISTVERSIONPREFIX= v -DISTVERSION= 0.90-291 -DISTVERSIONSUFFIX= -g0c745527 +DISTVERSION= 1.0.0 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/xgboost/distinfo b/misc/xgboost/distinfo index 543d21fac662..554258f723a2 100644 --- a/misc/xgboost/distinfo +++ b/misc/xgboost/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1580144958 -SHA256 (dmlc-xgboost-v0.90-291-g0c745527_GH0.tar.gz) = 539f3de222665a0a5d376dbf9eef5b44dd6038676332b32f3fd4eacb71075b37 -SIZE (dmlc-xgboost-v0.90-291-g0c745527_GH0.tar.gz) = 1161884 +TIMESTAMP = 1582345816 +SHA256 (dmlc-xgboost-v1.0.0_GH0.tar.gz) = 49ec7a787dce0712981f95d29c1485baa3d8f291b99923592872117edeb10cfe +SIZE (dmlc-xgboost-v1.0.0_GH0.tar.gz) = 1170736 SHA256 (dmlc-rabit-2f25347_GH0.tar.gz) = 9a9f9b754d1f8f8f0949faded75859e791cc56c75c38928467649fc227bee7e0 SIZE (dmlc-rabit-2f25347_GH0.tar.gz) = 90555 SHA256 (NVlabs-cub-b20808b_GH0.tar.gz) = 5d613bf9c4bd3f60803720b982291c585e5e9cce83a93b5ef576bd3ce6d141e4 diff --git a/misc/xgboost/files/patch-src_common_json.cc b/misc/xgboost/files/patch-src_common_json.cc deleted file mode 100644 index 25e750cf9280..000000000000 --- a/misc/xgboost/files/patch-src_common_json.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/common/json.cc.orig 2019-12-14 20:32:28 UTC -+++ src/common/json.cc -@@ -630,7 +630,7 @@ Json JsonReader::ParseNumber() { - // multiply zero by inf which gives nan. - if (f != 0.0) { - // Only use exp10 from libc on gcc+linux --#if !defined(__GNUC__) || defined(_WIN32) || defined(__APPLE__) -+#if !defined(__GNUC__) || defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__) - #define exp10(val) std::pow(10, (val)) - #endif // !defined(__GNUC__) || defined(_WIN32) || defined(__APPLE__) - f *= exp10(exponent); diff --git a/misc/xgboost/files/patch-src_common_timer.cc b/misc/xgboost/files/patch-src_common_timer.cc deleted file mode 100644 index 8ed4ea329c3a..000000000000 --- a/misc/xgboost/files/patch-src_common_timer.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- src/common/timer.cc.orig 2019-12-14 20:35:26 UTC -+++ src/common/timer.cc -@@ -44,8 +44,9 @@ std::vector<Monitor::StatMap> Monitor::CollectFromOthe - statistic[kv.first] = Object(); - auto& j_pair = statistic[kv.first]; - j_pair["count"] = Integer(kv.second.count); -- j_pair["elapsed"] = Integer(std::chrono::duration_cast<std::chrono::microseconds>( -- kv.second.timer.elapsed).count()); -+ // https://github.com/dmlc/xgboost/issues/5117 -+ j_pair["elapsed"] = 1; //Integer(std::chrono::duration_cast<std::chrono::microseconds>( -+ //kv.second.timer.elapsed).count()); - } - - std::stringstream ss; |