Skip to content

Commit 0f4f82e

Browse files
authored
Merge pull request #96 from hcho3/fix_librmm
Fix build with librmm
2 parents c99faca + d793508 commit 0f4f82e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.scripts/run_win_build.bat

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/meta.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set version = "3.0.0" %}
2-
{% set build_number = 0 %}
2+
{% set build_number = 1 %}
33
{% set python_min = "3.10" %}
44
{% set posix = 'm2-' if win else '' %}
55

@@ -29,7 +29,7 @@ build:
2929
#
3030
# XGBoost 3 dropped CUDA 11 support.
3131
# xref: https://github.com/dmlc/xgboost/issues/10370
32-
skip: true # [((linux or win) and cuda_compiler_version == "None") or (python_min is undefined) or (cuda_compiler_version == "12.6") or (cuda_compiler_version == "11.8")]
32+
skip: true # [((linux or win) and cuda_compiler_version == "None") or (not python_min) or (cuda_compiler_version == "12.6") or (cuda_compiler_version == "11.8")]
3333

3434
requirements:
3535
build:
@@ -64,7 +64,6 @@ outputs:
6464
string: {{ string_prefix }}_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
6565
ignore_run_exports_from:
6666
- {{ compiler('cuda') }} # [cuda_compiler != "None"]
67-
- librmm # [linux and cuda_compiler != "None"]
6867
missing_dso_whitelist:
6968
# Conda-build raises the missing `R.dll` linkage erroneously.
7069
# xref: https://github.com/conda/conda-build/pull/4786
@@ -86,13 +85,12 @@ outputs:
8685
host:
8786
- cuda-version {{ cuda_compiler_version }} # [cuda_compiler != "None"]
8887
- nccl # [linux and cuda_compiler != "None"]
88+
- librmm # [linux and cuda_compiler != "None"]
8989
- libgomp # [win]
9090
run:
9191
- {{ pin_compatible("cuda-version", lower_bound="11.2") }} # [cuda_compiler == "nvcc"]
9292
- {{ pin_compatible("cuda-version", min_pin="x") }} # [cuda_compiler == "cuda-nvcc"]
9393
- libgomp # [win]
94-
run_constrained:
95-
- {{ pin_compatible('librmm', max_pin='x.x') }} # [linux and cuda_compiler != "None"]
9694
test:
9795
commands:
9896
- test -f "${PREFIX}/lib/libxgboost${SHLIB_EXT}" # [unix]

0 commit comments

Comments
 (0)