aboutsummaryrefslogtreecommitdiff
path: root/misc/py-xgboost
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-09-24 08:37:37 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-09-24 08:37:37 +0000
commitd48922c4ee012ccfb74dc11df1569eb8441e8790 (patch)
tree16f1fb3d96eb36cee6996f21ecc5e45fda92f9f7 /misc/py-xgboost
parentf477c0435f6bca96da43072885e812f9c2ef9bd3 (diff)
downloadports-d48922c4ee012ccfb74dc11df1569eb8441e8790.tar.gz
ports-d48922c4ee012ccfb74dc11df1569eb8441e8790.zip
Notes
Diffstat (limited to 'misc/py-xgboost')
-rw-r--r--misc/py-xgboost/Makefile2
-rw-r--r--misc/py-xgboost/distinfo6
-rw-r--r--misc/py-xgboost/files/patch-CMakeLists.txt30
3 files changed, 23 insertions, 15 deletions
diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile
index ba6ab454582a..ee2b26bf6ee1 100644
--- a/misc/py-xgboost/Makefile
+++ b/misc/py-xgboost/Makefile
@@ -2,7 +2,7 @@
PORTNAME= xgboost
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.1
+DISTVERSION= 1.2.0
CATEGORIES= misc # machine-learning
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/misc/py-xgboost/distinfo b/misc/py-xgboost/distinfo
index ddcfc662df10..127117c42f2d 100644
--- a/misc/py-xgboost/distinfo
+++ b/misc/py-xgboost/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1591680370
-SHA256 (dmlc-xgboost-v1.1.1_GH0.tar.gz) = b93b27727431410d2b9bfa7242d7757f2c3f7892ddf636c934d261660f6be644
-SIZE (dmlc-xgboost-v1.1.1_GH0.tar.gz) = 1255606
+TIMESTAMP = 1600935150
+SHA256 (dmlc-xgboost-v1.2.0_GH0.tar.gz) = 074ef38f9fff675470c4b461e204cd1c778f984191ca89afdfcc55b46a1868d2
+SIZE (dmlc-xgboost-v1.2.0_GH0.tar.gz) = 1341770
SHA256 (dmlc-rabit-4fb34a008db6437c84d1877635064e09a55c8553_GH0.tar.gz) = 7d9a18b1613dfd3a5244524ecdb164d6b2a1f150d297cc7b8527e221aabb6eb7
SIZE (dmlc-rabit-4fb34a008db6437c84d1877635064e09a55c8553_GH0.tar.gz) = 93236
diff --git a/misc/py-xgboost/files/patch-CMakeLists.txt b/misc/py-xgboost/files/patch-CMakeLists.txt
index e0dc0a32ba4f..bffe795898ed 100644
--- a/misc/py-xgboost/files/patch-CMakeLists.txt
+++ b/misc/py-xgboost/files/patch-CMakeLists.txt
@@ -1,26 +1,34 @@
---- ../CMakeLists.txt.orig 2019-12-14 20:50:22 UTC
+--- ../CMakeLists.txt.orig 2020-09-24 08:09:24 UTC
+++ ../CMakeLists.txt
-@@ -101,16 +101,16 @@ endif (USE_CUDA)
+@@ -131,11 +131,11 @@ add_subdirectory(${xgboost_SOURCE_DIR}/src)
# dmlc-core
msvc_use_static_runtime()
-add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core)
-set_target_properties(dmlc PROPERTIES
-- CXX_STANDARD 11
+- CXX_STANDARD 14
- CXX_STANDARD_REQUIRED ON
- POSITION_INDEPENDENT_CODE ON)
--list(APPEND LINKED_LIBRARIES_PRIVATE dmlc)
+#add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core)
+#set_target_properties(dmlc PROPERTIES
-+# CXX_STANDARD 11
++# CXX_STANDARD 14
+# CXX_STANDARD_REQUIRED ON
+# POSITION_INDEPENDENT_CODE ON)
-+#list(APPEND LINKED_LIBRARIES_PRIVATE dmlc)
+ if (MSVC)
+ target_compile_options(dmlc PRIVATE
+ -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
+@@ -144,10 +144,10 @@ if (MSVC)
+ -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
+ endif (TARGET dmlc_unit_tests)
+ endif (MSVC)
+-if (ENABLE_ALL_WARNINGS)
+- target_compile_options(dmlc PRIVATE -Wall -Wextra)
+-endif (ENABLE_ALL_WARNINGS)
+-target_link_libraries(objxgboost PUBLIC dmlc)
++#if (ENABLE_ALL_WARNINGS)
++# target_compile_options(dmlc PRIVATE -Wall -Wextra)
++#endif (ENABLE_ALL_WARNINGS)
++#target_link_libraries(objxgboost PUBLIC dmlc)
# rabit
set(RABIT_BUILD_DMLC OFF)
--set(DMLC_ROOT ${xgboost_SOURCE_DIR}/dmlc-core)
-+set(DMLC_ROOT ${CMAKE_INSTALL_PREFIX})
- set(RABIT_WITH_R_LIB ${R_LIB})
- add_subdirectory(rabit)
-