Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2026 09:49:19 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9617c57e98f2 - main - misc/{,py-}xgboost: update 2.1=?utf-8?Q?=2E4 =E2=86=92 3?=.1.3
Message-ID:  <6964c39f.2319b.365ec6ac@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9617c57e98f2ac3cacd3fab2f82069bc6686aa98

commit 9617c57e98f2ac3cacd3fab2f82069bc6686aa98
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-01-12 09:48:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-01-12 09:49:03 +0000

    misc/{,py-}xgboost: update 2.1.4 → 3.1.3
    
    Reported by:    portscout
---
 misc/py-xgboost/Makefile                   |  2 +-
 misc/py-xgboost/distinfo                   |  6 +++---
 misc/py-xgboost/files/patch-CMakeLists.txt | 16 ++++++++--------
 misc/xgboost/Makefile                      |  2 +-
 misc/xgboost/distinfo                      |  6 +++---
 misc/xgboost/files/patch-CMakeLists.txt    | 16 ++++++++--------
 misc/xgboost/pkg-plist                     |  2 ++
 7 files changed, 26 insertions(+), 24 deletions(-)

diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile
index aaae00b37b08..4eb0ccef8a42 100644
--- a/misc/py-xgboost/Makefile
+++ b/misc/py-xgboost/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xgboost
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.4
+DISTVERSION=	3.1.3
 CATEGORIES=	misc # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
diff --git a/misc/py-xgboost/distinfo b/misc/py-xgboost/distinfo
index 7c625d307fa1..d44192f5a83a 100644
--- a/misc/py-xgboost/distinfo
+++ b/misc/py-xgboost/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738905163
-SHA256 (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 8c86edcdc4ea4e8ef92d62d71ddb59a2500d87312c5e1092cb41f60b59212101
-SIZE (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 2137827
+TIMESTAMP = 1768210996
+SHA256 (dmlc-xgboost-v3.1.3_GH0.tar.gz) = 17c545f43ca543979dcafdfeb4921240ba3673d1464ec4c2f592733af12ad578
+SIZE (dmlc-xgboost-v3.1.3_GH0.tar.gz) = 2388327
diff --git a/misc/py-xgboost/files/patch-CMakeLists.txt b/misc/py-xgboost/files/patch-CMakeLists.txt
index a0003ec715ea..10ec5aecd063 100644
--- a/misc/py-xgboost/files/patch-CMakeLists.txt
+++ b/misc/py-xgboost/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- ../CMakeLists.txt.orig	2024-06-19 18:31:39 UTC
+--- ../CMakeLists.txt.orig	2026-01-08 13:54:31 UTC
 +++ ../CMakeLists.txt
-@@ -148,11 +148,11 @@ endif()
+@@ -162,11 +162,11 @@ endif()
  if(PLUGIN_RMM AND NOT (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
    message(SEND_ERROR "`PLUGIN_RMM` must be used with Linux.")
  endif()
@@ -17,7 +17,7 @@
  if(BUILD_STATIC_LIB AND (R_LIB OR JVM_BINDINGS))
    message(SEND_ERROR "Cannot build a static library libxgboost.a when R or JVM packages are enabled.")
  endif()
-@@ -266,7 +266,7 @@ set(DMLC_FORCE_SHARED_CRT ${FORCE_SHARED_CRT})
+@@ -289,7 +289,7 @@ set(DMLC_FORCE_SHARED_CRT ${FORCE_SHARED_CRT})
  
  # dmlc-core
  set(DMLC_FORCE_SHARED_CRT ${FORCE_SHARED_CRT})
@@ -26,7 +26,7 @@
  
  if(MSVC)
    if(TARGET dmlc_unit_tests)
-@@ -279,7 +279,7 @@ add_subdirectory(${xgboost_SOURCE_DIR}/src)
+@@ -302,7 +302,7 @@ add_subdirectory(${xgboost_SOURCE_DIR}/src)
  
  # core xgboost
  add_subdirectory(${xgboost_SOURCE_DIR}/src)
@@ -35,16 +35,16 @@
  
  # Link -lstdc++fs for GCC 8.x
  if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0")
-@@ -341,7 +341,7 @@ if(BUILD_DEPRECATED_CLI)
+@@ -391,7 +391,7 @@ if(BUILD_DEPRECATED_CLI)
    target_include_directories(runxgboost
      PRIVATE
      ${xgboost_SOURCE_DIR}/include
 -    ${xgboost_SOURCE_DIR}/dmlc-core/include
 +    #${xgboost_SOURCE_DIR}/dmlc-core/include
-     ${xgboost_SOURCE_DIR}/rabit/include
    )
    set_target_properties(runxgboost PROPERTIES OUTPUT_NAME xgboost)
-@@ -358,7 +358,7 @@ endif()
+   xgboost_target_properties(runxgboost)
+@@ -407,7 +407,7 @@ endif()
  #-- End CLI for xgboost
  
  # Common setup for all targets
@@ -53,7 +53,7 @@
    xgboost_target_properties(${target})
    xgboost_target_link_libraries(${target})
    xgboost_target_defs(${target})
-@@ -420,9 +420,9 @@ if(BUILD_STATIC_LIB)
+@@ -469,9 +469,9 @@ if(BUILD_STATIC_LIB)
  # https://github.com/dmlc/xgboost/issues/6085
  if(BUILD_STATIC_LIB)
    if(BUILD_DEPRECATED_CLI)
diff --git a/misc/xgboost/Makefile b/misc/xgboost/Makefile
index 0e8bdafa566d..9e874c36b4d7 100644
--- a/misc/xgboost/Makefile
+++ b/misc/xgboost/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xgboost
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.4
+DISTVERSION=	3.1.3
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/misc/xgboost/distinfo b/misc/xgboost/distinfo
index bee3d40ff076..f65e2a67dd62 100644
--- a/misc/xgboost/distinfo
+++ b/misc/xgboost/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1738904981
-SHA256 (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 8c86edcdc4ea4e8ef92d62d71ddb59a2500d87312c5e1092cb41f60b59212101
-SIZE (dmlc-xgboost-v2.1.4_GH0.tar.gz) = 2137827
+TIMESTAMP = 1768210728
+SHA256 (dmlc-xgboost-v3.1.3_GH0.tar.gz) = 17c545f43ca543979dcafdfeb4921240ba3673d1464ec4c2f592733af12ad578
+SIZE (dmlc-xgboost-v3.1.3_GH0.tar.gz) = 2388327
 SHA256 (NVlabs-cub-af39ee2_GH0.tar.gz) = 3444f1d0af16d3680bf5089c1a91e707769d946580b80f12463860366fb6884b
 SIZE (NVlabs-cub-af39ee2_GH0.tar.gz) = 413215
 SHA256 (rapidsai-gputreeshap-acb5be3_GH0.tar.gz) = c2b67f8f398000570cac6b9d82a0bdab251105391602a3e07fd497c5e61534c4
diff --git a/misc/xgboost/files/patch-CMakeLists.txt b/misc/xgboost/files/patch-CMakeLists.txt
index 3750419d3296..9bed7ab3e30d 100644
--- a/misc/xgboost/files/patch-CMakeLists.txt
+++ b/misc/xgboost/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2024-06-19 18:31:39 UTC
+--- CMakeLists.txt.orig	2026-01-08 13:54:31 UTC
 +++ CMakeLists.txt
-@@ -148,11 +148,11 @@ endif()
+@@ -162,11 +162,11 @@ endif()
  if(PLUGIN_RMM AND NOT (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
    message(SEND_ERROR "`PLUGIN_RMM` must be used with Linux.")
  endif()
@@ -17,7 +17,7 @@
  if(BUILD_STATIC_LIB AND (R_LIB OR JVM_BINDINGS))
    message(SEND_ERROR "Cannot build a static library libxgboost.a when R or JVM packages are enabled.")
  endif()
-@@ -266,7 +266,7 @@ set(DMLC_FORCE_SHARED_CRT ${FORCE_SHARED_CRT})
+@@ -289,7 +289,7 @@ set(DMLC_FORCE_SHARED_CRT ${FORCE_SHARED_CRT})
  
  # dmlc-core
  set(DMLC_FORCE_SHARED_CRT ${FORCE_SHARED_CRT})
@@ -26,7 +26,7 @@
  
  if(MSVC)
    if(TARGET dmlc_unit_tests)
-@@ -279,7 +279,7 @@ add_subdirectory(${xgboost_SOURCE_DIR}/src)
+@@ -302,7 +302,7 @@ add_subdirectory(${xgboost_SOURCE_DIR}/src)
  
  # core xgboost
  add_subdirectory(${xgboost_SOURCE_DIR}/src)
@@ -35,16 +35,16 @@
  
  # Link -lstdc++fs for GCC 8.x
  if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0")
-@@ -341,7 +341,7 @@ if(BUILD_DEPRECATED_CLI)
+@@ -391,7 +391,7 @@ if(BUILD_DEPRECATED_CLI)
    target_include_directories(runxgboost
      PRIVATE
      ${xgboost_SOURCE_DIR}/include
 -    ${xgboost_SOURCE_DIR}/dmlc-core/include
 +    #${xgboost_SOURCE_DIR}/dmlc-core/include
-     ${xgboost_SOURCE_DIR}/rabit/include
    )
    set_target_properties(runxgboost PROPERTIES OUTPUT_NAME xgboost)
-@@ -358,7 +358,7 @@ endif()
+   xgboost_target_properties(runxgboost)
+@@ -407,7 +407,7 @@ endif()
  #-- End CLI for xgboost
  
  # Common setup for all targets
@@ -53,7 +53,7 @@
    xgboost_target_properties(${target})
    xgboost_target_link_libraries(${target})
    xgboost_target_defs(${target})
-@@ -420,9 +420,9 @@ if(BUILD_STATIC_LIB)
+@@ -469,9 +469,9 @@ if(BUILD_STATIC_LIB)
  # https://github.com/dmlc/xgboost/issues/6085
  if(BUILD_STATIC_LIB)
    if(BUILD_DEPRECATED_CLI)
diff --git a/misc/xgboost/pkg-plist b/misc/xgboost/pkg-plist
index baa8200d6ee5..8251f8d00122 100644
--- a/misc/xgboost/pkg-plist
+++ b/misc/xgboost/pkg-plist
@@ -1,6 +1,7 @@
 include/xgboost/base.h
 include/xgboost/c_api.h
 include/xgboost/cache.h
+include/xgboost/collective/poll_utils.h
 include/xgboost/collective/result.h
 include/xgboost/collective/socket.h
 include/xgboost/context.h
@@ -28,6 +29,7 @@ include/xgboost/task.h
 include/xgboost/tree_model.h
 include/xgboost/tree_updater.h
 include/xgboost/version_config.h
+include/xgboost/windefs.h
 lib/cmake/xgboost/XGBoostTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/xgboost/XGBoostTargets.cmake
 lib/cmake/xgboost/xgboost-config-version.cmake


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6964c39f.2319b.365ec6ac>