From nobody Fri Oct 22 15:59:02 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9DC7D1817B6B; Fri, 22 Oct 2021 15:59:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HbTYL2Trvz4RJ8; Fri, 22 Oct 2021 15:59:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B9DA114E1; Fri, 22 Oct 2021 15:59:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19MFx2Oh005657; Fri, 22 Oct 2021 15:59:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19MFx224005656; Fri, 22 Oct 2021 15:59:02 GMT (envelope-from git) Date: Fri, 22 Oct 2021 15:59:02 GMT Message-Id: <202110221559.19MFx224005656@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2632a7cc081d - main - misc/py-xgboost: Update 1.4.2 -> 1.5.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2632a7cc081de6e59b0dee525eb2de9b6bddde31 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2632a7cc081de6e59b0dee525eb2de9b6bddde31 commit 2632a7cc081de6e59b0dee525eb2de9b6bddde31 Author: Yuri Victorovich AuthorDate: 2021-10-22 15:34:41 +0000 Commit: Yuri Victorovich CommitDate: 2021-10-22 15:58:24 +0000 misc/py-xgboost: Update 1.4.2 -> 1.5.0 Reported by: portscout --- misc/py-xgboost/Makefile | 2 +- misc/py-xgboost/distinfo | 6 +-- misc/py-xgboost/files/patch-CMakeLists.txt | 60 ++++++++++++++++++++++++------ 3 files changed, 52 insertions(+), 16 deletions(-) diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile index dc8dd3031fed..34d8d51967dc 100644 --- a/misc/py-xgboost/Makefile +++ b/misc/py-xgboost/Makefile @@ -1,6 +1,6 @@ PORTNAME= xgboost DISTVERSIONPREFIX= v -DISTVERSION= 1.4.2 +DISTVERSION= 1.5.0 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/misc/py-xgboost/distinfo b/misc/py-xgboost/distinfo index 84c698ba5e20..50a8e5ff43e5 100644 --- a/misc/py-xgboost/distinfo +++ b/misc/py-xgboost/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1629576397 -SHA256 (dmlc-xgboost-v1.4.2_GH0.tar.gz) = e251dae332ce6168f7c900ba8ca2e84c75c0e227ef51611d2badbdd451847dc3 -SIZE (dmlc-xgboost-v1.4.2_GH0.tar.gz) = 1582010 +TIMESTAMP = 1634915901 +SHA256 (dmlc-xgboost-v1.5.0_GH0.tar.gz) = 24a78308986b1c2b00fa9c1dc25e7899854ff5fc5337e57a9fc49dad002c7ddd +SIZE (dmlc-xgboost-v1.5.0_GH0.tar.gz) = 1640493 diff --git a/misc/py-xgboost/files/patch-CMakeLists.txt b/misc/py-xgboost/files/patch-CMakeLists.txt index d71345f99187..4b498a226047 100644 --- a/misc/py-xgboost/files/patch-CMakeLists.txt +++ b/misc/py-xgboost/files/patch-CMakeLists.txt @@ -1,19 +1,55 @@ ---- ../CMakeLists.txt.orig 2020-09-24 08:09:24 UTC +--- ../CMakeLists.txt.orig 2021-10-15 04:21:04 UTC +++ ../CMakeLists.txt -@@ -131,11 +131,11 @@ add_subdirectory(${xgboost_SOURCE_DIR}/src) +@@ -104,11 +104,11 @@ endif (PLUGIN_RMM AND NOT ((CMAKE_CXX_COMPILER_ID STRE + if (PLUGIN_RMM AND NOT (CMAKE_SYSTEM_NAME STREQUAL "Linux")) + message(SEND_ERROR "`PLUGIN_RMM` must be used with Linux.") + endif (PLUGIN_RMM AND NOT (CMAKE_SYSTEM_NAME STREQUAL "Linux")) +-if (ENABLE_ALL_WARNINGS) +- if ((NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) +- message(SEND_ERROR "ENABLE_ALL_WARNINGS is only available for Clang and GCC.") +- endif ((NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) +-endif (ENABLE_ALL_WARNINGS) ++#if (ENABLE_ALL_WARNINGS) ++# if ((NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) ++# message(SEND_ERROR "ENABLE_ALL_WARNINGS is only available for Clang and GCC.") ++# endif ((NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) ++#endif (ENABLE_ALL_WARNINGS) + 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 (BUILD_STATIC_LIB AND (R_LIB OR JVM_BINDINGS)) +@@ -160,7 +160,7 @@ endif (USE_NCCL) # dmlc-core msvc_use_static_runtime() -add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core) --set_target_properties(dmlc PROPERTIES -- CXX_STANDARD 14 -- CXX_STANDARD_REQUIRED ON -- POSITION_INDEPENDENT_CODE ON) +#add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core) -+#set_target_properties(dmlc PROPERTIES -+# CXX_STANDARD 14 -+# CXX_STANDARD_REQUIRED ON -+# POSITION_INDEPENDENT_CODE ON) + if (MSVC) - target_compile_options(dmlc PRIVATE - -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE) + if (TARGET dmlc_unit_tests) +@@ -177,7 +177,7 @@ endif (RABIT_BUILD_MPI) + + # core xgboost + add_subdirectory(${xgboost_SOURCE_DIR}/src) +-target_link_libraries(objxgboost PUBLIC dmlc) ++#target_link_libraries(objxgboost PUBLIC dmlc) + + # Exports some R specific definitions and objects + if (R_LIB) +@@ -218,7 +218,7 @@ set_target_properties(runxgboost PROPERTIES OUTPUT_NAM + #-- End CLI for xgboost + + # Common setup for all targets +-foreach(target xgboost objxgboost dmlc runxgboost) ++foreach(target xgboost objxgboost runxgboost) + xgboost_target_properties(${target}) + xgboost_target_link_libraries(${target}) + xgboost_target_defs(${target}) +@@ -269,7 +269,7 @@ install(DIRECTORY ${xgboost_SOURCE_DIR}/include/xgboos + # + # https://github.com/dmlc/xgboost/issues/6085 + if (BUILD_STATIC_LIB) +- set(INSTALL_TARGETS xgboost runxgboost objxgboost dmlc) ++ set(INSTALL_TARGETS xgboost runxgboost objxgboost) + else (BUILD_STATIC_LIB) + set(INSTALL_TARGETS xgboost runxgboost) + endif (BUILD_STATIC_LIB)