Skip to content

Commit

Permalink
Merge pull request #8 from elucideye/pr.check.to_string
Browse files Browse the repository at this point in the history
use xgboost @pr.check.to_string
  • Loading branch information
headupinclouds authored Jul 31, 2017
2 parents 505e38c + 26bfa75 commit bba9f07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ cmake_minimum_required(VERSION 3.3)
include("cmake/HunterGate.cmake")

HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.19.40.tar.gz"
SHA1 "dd4850329b2e5ed91684f964f8bbc29328898d56"
URL "https://github.com/ruslo/hunter/archive/v0.19.54.tar.gz"
SHA1 "75c7e5841cee90957d2e3866f6bd5d6dfe515dde"
FILEPATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Hunter/config.cmake"
)

Expand All @@ -36,7 +36,6 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
option(XGBOOSTER_BUILD_TESTS "Build tests" ON)
option(XGBOOSTER_BUILD_APPS "Build applications" ON)
option(XGBOOSTER_SERIALIZE_WITH_CEREAL "Serialize w/ cereal" ON) # hunter update
option(XGBOOSTER_ADD_TO_STRING "Add local to_string definitions" OFF) # for android
option(XGBOOSTER_DO_LEAN "Build for prediction only (size reduction)" OFF)

###################
Expand Down
4 changes: 0 additions & 4 deletions cmake/Hunter/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ set(XGBOOST_CMAKE_ARGS
XGBOOST_USE_CEREAL=${XGBOOSTER_SERIALIZE_WITH_CEREAL}
)

if(ANDROID)
list(APPEND XGBOOST_CMAKE_ARGS XGBOOST_ADD_TO_STRING=ON)
endif()

hunter_config(xgboost GIT_SUBMODULE "src/3rdparty/xgboost" CMAKE_ARGS ${XGBOOST_CMAKE_ARGS})
2 changes: 1 addition & 1 deletion src/3rdparty/xgboost

0 comments on commit bba9f07

Please sign in to comment.