Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xgboost: new recipe #23673

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

xgboost: new recipe #23673

wants to merge 5 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Apr 20, 2024

Adds XGBoost: https://github.com/dmlc/xgboost

Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow

Packaging status

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 5 (496ea1ea0313a318f145c83ad5f5d919d47c8a3c):

  • xgboost/2.0.3:
    CI failed to create some packages (All logs)

    Logs for packageID b683871a86a36290d105256f1a035262b7e3d082:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    xgboost:shared=False
    
    [...]
    -- C:/J/workspace/prod-v1/bsr@2/28152/efddc/.conan/data/xgboost/2.0.3/_/_/build/b683871a86a36290d105256f1a035262b7e3d082/src/dmlc-core/cmake/build_config.h.in -> include/dmlc/build_config.h
    -- Found PythonInterp: C:/conan_jenkins_envs/env_py_3_7_conan_1_64_0/Scripts/python.exe (found version "3.7.9")
    -- Configuring done (64.0s)
    -- Generating done (0.2s)
    -- Build files have been written to: C:/J/workspace/prod-v1/bsr@2/28152/efddc/.conan/data/xgboost/2.0.3/_/_/build/b683871a86a36290d105256f1a035262b7e3d082/build
    xgboost/2.0.3: CMake command: cmake --build "C:\J\workspace\prod-v1\bsr@2\28152\efddc\.conan\data\xgboost\2.0.3\_\_\build\b683871a86a36290d105256f1a035262b7e3d082\build" --config Debug
    
    ----Running------
    > "C:\J\workspace\prod-v1\bsr@2\28152\efddc\.conan\data\xgboost\2.0.3\_\_\build\b683871a86a36290d105256f1a035262b7e3d082\build\generators\conanbuild.bat" && cmake --build "C:\J\workspace\prod-v1\bsr@2\28152\efddc\.conan\data\xgboost\2.0.3\_\_\build\b683871a86a36290d105256f1a035262b7e3d082\build" --config Debug
    -----------------
    Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Debug|x64. [C:\J\workspace\prod-v1\bsr@2\28152\efddc\.conan\data\xgboost\2.0.3\_\_\build\b683871a86a36290d105256f1a035262b7e3d082\build\ZERO_CHECK.vcxproj]
    xgboost/2.0.3: 
    CMake Deprecation Warning at dmlc-core/CMakeLists.txt:1 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.
    
      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.
    
    
    CMake Warning (dev) at dmlc-core/cmake/Utils.cmake:196 (option):
      Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
      --help-policy CMP0077" for policy details.  Use the cmake_policy command to
      set the policy and suppress this warning.
    
      For compatibility with older versions of CMake, option is clearing the
      normal variable 'DMLC_FORCE_SHARED_CRT'.
    Call Stack (most recent call first):
      dmlc-core/CMakeLists.txt:25 (dmlccore_option)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Warning (dev) at dmlc-core/CMakeLists.txt:269 (find_package):
      Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
      are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
      the cmake_policy command to set the policy and suppress this warning.
    
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    xgboost/2.0.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    xgboost/2.0.3: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    xgboost/2.0.3: ERROR: Package 'b683871a86a36290d105256f1a035262b7e3d082' build failed
    xgboost/2.0.3: WARN: Build folder C:\J\workspace\prod-v1\bsr@2\28152\efddc\.conan\data\xgboost\2.0.3\_\_\build\b683871a86a36290d105256f1a035262b7e3d082\build
    ERROR: xgboost/2.0.3: Error in build() method, line 151
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build "C:\J\workspace\prod-v1\bsr@2\28152\efddc\.conan\data\xgboost\2.0.3\_\_\build\b683871a86a36290d105256f1a035262b7e3d082\build" --config Debug
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 5 (496ea1ea0313a318f145c83ad5f5d919d47c8a3c):

  • xgboost/2.0.3:
    CI failed to create some packages (All logs)

    Logs for packageID fd7683b62e3616325cfae38135e275d60bd0d968:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=17
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    [options]
    */*:shared=False
    
    [...]
    xgboost/2.0.3 (test package): Generator 'CMakeDeps' calling 'generate()'
    xgboost/2.0.3 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(xgboost)
        target_link_libraries(... xgboost::xgboost)
    xgboost/2.0.3 (test package): Generator 'CMakeToolchain' calling 'generate()'
    xgboost/2.0.3 (test package): CMakeToolchain generated: conan_toolchain.cmake
    xgboost/2.0.3 (test package): CMakeToolchain generated: CMakePresets.json
    xgboost/2.0.3 (test package): CMakeToolchain generated: ..\..\..\CMakeUserPresets.json
    xgboost/2.0.3 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    xgboost/2.0.3 (test package): Generating aggregated env files
    xgboost/2.0.3 (test package): Generated aggregated env files: ['conanrun.bat', 'conanbuild.bat']
    
    ======== Testing the package: Building ========
    xgboost/2.0.3 (test package): Calling build()
    xgboost/2.0.3 (test package): Running CMake.configure()
    xgboost/2.0.3 (test package): RUN: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v2/bsr@2/cci-6284acc2/recipes/xgboost/all/test_package/build/msvc-192-x86_64-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v2/bsr@2/cci-6284acc2/recipes/xgboost/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v2\bsr@2\cci-6284acc2\recipes\xgboost\all\test_package"
    -- Using Conan toolchain: C:/J/workspace/prod-v2/bsr@2/cci-6284acc2/recipes/xgboost/all/test_package/build/msvc-192-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: CMAKE_GENERATOR_TOOLSET=v142
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The C compiler identification is MSVC 19.29.30148.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Conan: Target declared 'xgboost::xgboost'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J/workspace/prod-v2/bsr@2/cci-6284acc2/recipes/xgboost/all/test_package/build/msvc-192-x86_64-17-release
    
    xgboost/2.0.3 (test package): Running CMake.build()
    xgboost/2.0.3 (test package): RUN: cmake --build "C:\J\workspace\prod-v2\bsr@2\cci-6284acc2\recipes\xgboost\all\test_package\build\msvc-192-x86_64-17-release" --config Release
    Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Checking Build System
      Building Custom Rule C:/J/workspace/prod-v2/bsr@2/cci-6284acc2/recipes/xgboost/all/test_package/CMakeLists.txt
      test_package.c
    LINK : warning LNK4044: unrecognized option '/openmp'; ignored [C:\J\workspace\prod-v2\bsr@2\cci-6284acc2\recipes\xgboost\all\test_package\build\msvc-192-x86_64-17-release\test_package.vcxproj]
      test_package.vcxproj -> C:\J\workspace\prod-v2\bsr@2\cci-6284acc2\recipes\xgboost\all\test_package\build\msvc-192-x86_64-17-release\Release\test_package.exe
      Building Custom Rule C:/J/workspace/prod-v2/bsr@2/cci-6284acc2/recipes/xgboost/all/test_package/CMakeLists.txt
    
    
    ======== Testing the package: Executing test ========
    xgboost/2.0.3 (test package): Running test()
    xgboost/2.0.3 (test package): RUN: Release\test_package
    
    ERROR: xgboost/2.0.3 (test package): Error in test() method, line 26
    	self.run(bin_path, env="conanrun")
    	ConanException: Error 3221225781 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants