Skip to content

Commit c431916

Browse files
trivialfishcho3
andauthored
[CI] Support CMake 4.0 (#11382)
* [CI] Use gtest from conda. * check version. * don't use conda gtest. * debug. * Try using dmlc/dmlc-core#690 * Add back aarch64_test.yml * Use C++14 for gtest * Require C++14 for gtest when found by find_package * Require C++14 everywhere in dmlc-core * Lower gtest requirement to 1.14 * Update dmlc-core --------- Co-authored-by: Hyunsu Cho <phcho@nvidia.com>
1 parent 5fbab40 commit c431916

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

ops/conda_env/linux_cpu_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- python=3.10
6-
- cmake
6+
- cmake>=3.26.4
77
- c-compiler
88
- cxx-compiler
99
- ninja

ops/conda_env/linux_sycl_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- https://software.repos.intel.com/python/conda/
55
dependencies:
66
- python=3.10
7-
- cmake
7+
- cmake>=3.26.4
88
- c-compiler
99
- cxx-compiler
1010
- pip

ops/pipeline/build-cpu-arm64-impl.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ source activate aarch64_test
99
echo "--- Build libxgboost from the source"
1010
mkdir -p build
1111
pushd build
12+
1213
cmake .. \
1314
-GNinja \
1415
-DCMAKE_PREFIX_PATH="${CONDA_PREFIX}" \

0 commit comments

Comments
 (0)