pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-xgboost



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 24 22:43:20 UTC 2024

Modified Files:
        pkgsrc/math/py-xgboost: distinfo
        pkgsrc/math/py-xgboost/patches: patch-cpp__src_dmlc-core_CMakeLists.txt

Log Message:
py-xgboost: fix build


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/py-xgboost/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-xgboost/distinfo
diff -u pkgsrc/math/py-xgboost/distinfo:1.3 pkgsrc/math/py-xgboost/distinfo:1.4
--- pkgsrc/math/py-xgboost/distinfo:1.3 Fri Jan 19 14:36:17 2024
+++ pkgsrc/math/py-xgboost/distinfo     Wed Jan 24 22:43:20 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2024/01/19 14:36:17 adam Exp $
+$NetBSD: distinfo,v 1.4 2024/01/24 22:43:20 adam Exp $
 
 BLAKE2s (xgboost-2.0.3.tar.gz) = 3f4382c6559f9d9cbbcb5299c9422fc1b194d3e9c2e27c456a9f1ed33eaf0bfa
 SHA512 (xgboost-2.0.3.tar.gz) = 93614a9ad9d0a256cc31586b701c46eef4353df76c3eac26f39df23c8c02fa9ec95e72a0cea0b51bc3e416b81b3ac557ed361afeda246376a7b561bb6f7da579
 Size (xgboost-2.0.3.tar.gz) = 1048322 bytes
-SHA1 (patch-cpp__src_dmlc-core_CMakeLists.txt) = 2b09910ae40fd26fdaf7462ad4b37662dd106554
+SHA1 (patch-cpp__src_dmlc-core_CMakeLists.txt) = d7365655159fd310c73fa1abbbeb86db88c6f671
 SHA1 (patch-cpp__src_include_xgboost_collective_socket.h) = 71c2e47527fc39ca5cac4f47523f0f9ed8d22657
 SHA1 (patch-xgboost_libpath.py) = 39b2538729e5e4408de81534cd2b720ed112775a

Index: pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt
diff -u pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt:1.1 pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt:1.2
--- pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt:1.1  Fri Jan 19 14:36:17 2024
+++ pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt      Wed Jan 24 22:43:20 2024
@@ -1,10 +1,17 @@
-$NetBSD: patch-cpp__src_dmlc-core_CMakeLists.txt,v 1.1 2024/01/19 14:36:17 adam Exp $
+$NetBSD: patch-cpp__src_dmlc-core_CMakeLists.txt,v 1.2 2024/01/24 22:43:20 adam Exp $
 
 Fix build.
 
---- cpp_src/dmlc-core/CMakeLists.txt.orig      2023-02-27 12:24:23.000000000 +0000
+--- cpp_src/dmlc-core/CMakeLists.txt.orig      2020-02-02 00:00:00.000000000 +0000
 +++ cpp_src/dmlc-core/CMakeLists.txt
-@@ -185,8 +185,6 @@ target_include_directories(dmlc PUBLIC
+@@ -179,14 +179,12 @@ else()
+ endif()
+ 
+ message(STATUS "${CMAKE_LOCAL}/build_config.h.in -> include/dmlc/build_config.h")
+-configure_file("cmake/build_config.h.in" "include/dmlc/build_config.h")
++configure_file("cmake/build_config.h.in" "${CMAKE_CURRENT_SOURCE_DIR}/include/dmlc/build_config.h")
+ 
+ target_include_directories(dmlc PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
    $<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>)



Home | Main Index | Thread Index | Old Index