Skip to content

Commit

Permalink
Simplify recipes (#4749)
Browse files Browse the repository at this point in the history
Simplify recipes using `{{ target_platform }}` for `sysroot` package and `compiler()` function in `ignore_run_exports_from`

Authors:
  - Jordan Jacobelli (https://github.com/Ethyling)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #4749
  • Loading branch information
jjacobelli authored May 23, 2022
1 parent 3e3a1e0 commit 68ec994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions conda/recipes/cuml/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,15 @@ build:
script_env:
- VERSION_SUFFIX
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
- {{ compiler('cuda') }}

requirements:
build:
- cmake>=3.20.1,!=3.23.0
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} {{ cuda_version }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
- sysroot_{{ target_platform }} {{ sysroot_version }}
host:
- python x.x
- setuptools
Expand Down
9 changes: 3 additions & 6 deletions conda/recipes/libcuml/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }} {{ cuda_version }}
- sysroot_linux-64 {{ sysroot_version }} # [linux64]
- sysroot_linux-aarch64 {{ sysroot_version }} # [aarch64]
- sysroot_{{ target_platform }} {{ sysroot_version }}
host:
- nccl {{ nccl_version }}
- cudf {{ minor_version }}
Expand All @@ -64,8 +63,7 @@ outputs:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
- {{ compiler('cuda') }}
requirements:
build:
- cmake {{ cmake_version }}
Expand Down Expand Up @@ -95,8 +93,7 @@ outputs:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
ignore_run_exports_from:
- nvcc_linux-64 # [linux64]
- nvcc_linux-aarch64 # [aarch64]
- {{ compiler('cuda') }}
requirements:
build:
- cmake {{ cmake_version }}
Expand Down

0 comments on commit 68ec994

Please sign in to comment.