Skip to content

Commit

Permalink
Simplify build/strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Jul 29, 2023
1 parent 1403f2b commit 0129f44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ outputs:
script: install-win-wrapper.bat # [win]
build:
activate_in_script: True
string: rapidsai_cuda{{ cuda_compiler_version | replace('.', '') }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
string: rapidsai_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
ignore_run_exports_from:
- {{ compiler('cuda') }} # [(cuda_compiler_version or "").startswith("11")]
- nccl # [linux and cuda_compiler != "None"]
Expand Down Expand Up @@ -74,7 +74,7 @@ outputs:
script: install-py-xgboost.sh # [not win]
script: install-win-wrapper.bat # [win]
build:
string: rapidsai_cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
string: rapidsai_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
requirements:
build:
- python # [build_platform != target_platform]
Expand All @@ -96,7 +96,7 @@ outputs:

- name: xgboost
build:
string: rapidsai_cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
string: rapidsai_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
ignore_run_exports_from:
- {{ compiler('cuda') }} # [(cuda_compiler_version or "").startswith("11")]
requirements:
Expand All @@ -115,7 +115,7 @@ outputs:
script: install-r-xgboost.sh # [not win]
script: install-r-xgboost.bat # [win]
build:
string: rapidsai_cuda{{ cuda_compiler_version | replace('.', '') }}_r{{ r_base | replace('.', '') }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
string: rapidsai_r{{ r_base | replace('.', '') }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
rpaths:
- lib/R/lib
ignore_run_exports_from:
Expand Down

0 comments on commit 0129f44

Please sign in to comment.