Index: head/misc/xgboost/Makefile =================================================================== --- head/misc/xgboost/Makefile (revision 526733) +++ head/misc/xgboost/Makefile (revision 526734) @@ -1,35 +1,34 @@ # $FreeBSD$ PORTNAME= xgboost DISTVERSIONPREFIX= v -DISTVERSION= 0.90-291 -DISTVERSIONSUFFIX= -g0c745527 +DISTVERSION= 1.0.0 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM) LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdmlc.so:devel/dmlc-core USES= cmake compiler:c++11-lang localbase USE_GITHUB= yes GH_ACCOUNT= dmlc GH_TUPLE= dmlc:rabit:2f25347:rabit/rabit \ NVlabs:cub:b20808b:cub/cub USE_LDCONFIG= yes LDFLAGS+= ${LOCALBASE}/lib/libdmlc.so -lexecinfo OPTIONS_DEFINE= OPENMP OPENMP_CMAKE_BOOL= USE_OPENMP OPENMP_LIB_DEPENDS= libomp.so:devel/openmp OPENMP_BROKEN= error: unsupported argument 'libomp -I/usr/local/include -L/usr/local/lib' to option 'fopenmp=' post-patch: # https://github.com/dmlc/rabit/issues/131 @${FIND} ${WRKSRC} -name "*.h" -o -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -i '' -e 's| _assert(| _xassert(|; s| _assert)| _xassert)|' .include Index: head/misc/xgboost/distinfo =================================================================== --- head/misc/xgboost/distinfo (revision 526733) +++ head/misc/xgboost/distinfo (revision 526734) @@ -1,7 +1,7 @@ -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 SIZE (NVlabs-cub-b20808b_GH0.tar.gz) = 390976 Index: head/misc/xgboost/files/patch-src_common_timer.cc =================================================================== --- head/misc/xgboost/files/patch-src_common_timer.cc (revision 526733) +++ head/misc/xgboost/files/patch-src_common_timer.cc (nonexistent) @@ -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::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( -- kv.second.timer.elapsed).count()); -+ // https://github.com/dmlc/xgboost/issues/5117 -+ j_pair["elapsed"] = 1; //Integer(std::chrono::duration_cast( -+ //kv.second.timer.elapsed).count()); - } - - std::stringstream ss; Property changes on: head/misc/xgboost/files/patch-src_common_timer.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/misc/xgboost/files/patch-src_common_json.cc =================================================================== --- head/misc/xgboost/files/patch-src_common_json.cc (revision 526733) +++ head/misc/xgboost/files/patch-src_common_json.cc (nonexistent) @@ -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); Property changes on: head/misc/xgboost/files/patch-src_common_json.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property