Skip to content

Commit

Permalink
Merge pull request #27 from jakirkham-feedstocks/use_librmm_hash
Browse files Browse the repository at this point in the history
Force the hash to include `librmm`
  • Loading branch information
jakirkham committed Aug 18, 2023
2 parents 4d00b53 + dd7f2ba commit 0bb7526
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
librmm:
- 23.10

channel_sources:
- rapidsai,rapidsai-nightly,conda-forge
channel_targets:
Expand Down
11 changes: 5 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% set name = "xgboost" %}
{% set version = "1.7.6" %}
{% set build_number = "0" %}
{% set rapids_version = "23.10" %}

package:
name: xgboost-split
Expand Down Expand Up @@ -35,8 +34,8 @@ requirements:
- libgomp # [linux]
- ninja
host:
- nccl # [linux and cuda_compiler != "None"]
- librmm ={{ rapids_version }} # [linux and cuda_compiler != "None"]
- nccl # [linux and cuda_compiler != "None"]
- librmm # [linux and cuda_compiler != "None"]

outputs:
- name: libxgboost
Expand All @@ -58,12 +57,12 @@ outputs:
- llvm-openmp # [osx]
- libgomp # [linux]
host:
- nccl # [linux and cuda_compiler != "None"]
- librmm ={{ rapids_version }} # [linux and cuda_compiler != "None"]
- nccl # [linux and cuda_compiler != "None"]
- librmm # [linux and cuda_compiler != "None"]
run:
- cuda-version >=11.2,<12 # [(cuda_compiler_version or "").startswith("11")]
run_constrained:
- librmm ={{ rapids_version }} # [linux and cuda_compiler != "None"]
- {{ pin_compatible('librmm', max_pin='x.x.x') }} # [linux and cuda_compiler != "None"]

- name: py-xgboost
script: install-py-xgboost.sh # [not win]
Expand Down

0 comments on commit 0bb7526

Please sign in to comment.