* Update to C++17 * Turn off unity build * Update CMake to 3.18 * Use MSVC 2022 + CUDA 11.8 * Re-create stack for worker images * Allocate more disk space for Windows * Tempiorarily disable clang-tidy * RAPIDS now requires Python 3.10+ * Unpin cuda-python * Use latest NCCL * Use Ubuntu 20.04 in RMM image * Mark failing mgpu test as xfail
24 lines
553 B
CMake
24 lines
553 B
CMake
cmake_minimum_required(VERSION 3.18)
|
|
project(xgboost-c-examples)
|
|
|
|
add_subdirectory(basic)
|
|
add_subdirectory(external-memory)
|
|
add_subdirectory(inference)
|
|
|
|
enable_testing()
|
|
add_test(
|
|
NAME test_xgboost_demo_c_basic
|
|
COMMAND api-demo
|
|
WORKING_DIRECTORY ${xgboost-c-examples_BINARY_DIR}
|
|
)
|
|
add_test(
|
|
NAME test_xgboost_demo_c_external_memory
|
|
COMMAND external-memory-demo
|
|
WORKING_DIRECTORY ${xgboost-c-examples_BINARY_DIR}
|
|
)
|
|
add_test(
|
|
NAME test_xgboost_demo_c_inference
|
|
COMMAND inference-demo
|
|
WORKING_DIRECTORY ${xgboost-c-examples_BINARY_DIR}
|
|
)
|