Skip to content

Commit

Permalink
Recipe revisions.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Feb 22, 2025
1 parent 4b3388d commit 689fe92
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions conda/recipes/librmm/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ outputs:
script:
- cmake --install build
requirements:
host:
build:
- cmake ${{ cmake_version }}
host:
- cuda-version =${{ cuda_version }}
run:
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
Expand All @@ -67,8 +68,8 @@ outputs:
run_exports:
- ${{ pin_subpackage("librmm", upper_bound="x.x") }}
ignore_run_exports:
from_package:
- ${{ compiler("cuda") }}
by_name:
- cuda-version
tests:
- script:
- "test -d \"${PREFIX}/include/rmm\""
Expand All @@ -84,8 +85,9 @@ outputs:
script:
- cmake --install build --component testing
requirements:
host:
build:
- cmake ${{ cmake_version }}
host:
- cuda-version =${{ cuda_version }}
- if: cuda_major == "11"
then: cudatoolkit
Expand All @@ -98,9 +100,10 @@ outputs:
- ${{ pin_subpackage("librmm", exact=True) }}
ignore_run_exports:
from_package:
- ${{ compiler("cuda") }}
- if: cuda_major == "11"
- if: cuda_major != "11"
then: cuda-cudart-dev
by_name:
- cuda-version
about:
homepage: ${{ load_from_file("python/librmm/pyproject.toml").project.urls.Homepage }}
license: ${{ load_from_file("python/librmm/pyproject.toml").project.license.text | replace(" ", "-") }}
Expand All @@ -111,8 +114,28 @@ outputs:
build:
string: cuda${{ cuda_major }}_${{ date_string }}_${{ head_rev }}
script:
- ./examples/build.sh --install
content:
- ./examples/build.sh --install
env:
CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }}
CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }}
CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }}
CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }}
PARALLEL_LEVEL: ${{ env.get("PARALLEL_LEVEL") }}
SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }}
SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }}
SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }}
SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }}
SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }}
SCCACHE_S3_KEY_PREFIX: librmm-${{ env.get("RAPIDS_CONDA_ARCH") }}
requirements:
build:
- cmake ${{ cmake_version }}
- ninja
- ${{ compiler("c") }}
- ${{ compiler("cxx") }}
- ${{ compiler("cuda") }}
- cuda-version =${{ cuda_version }}
host:
- cuda-version =${{ cuda_version }}
- if: cuda_major == "11"
Expand All @@ -127,10 +150,11 @@ outputs:
- ${{ pin_subpackage("librmm", exact=True) }}
ignore_run_exports:
from_package:
- if: cuda_major == "11"
- if: cuda_major != "11"
then: cuda-cudart-dev
by_name:
- cuda-version
- librmm
about:
homepage: ${{ load_from_file("python/librmm/pyproject.toml").project.urls.Homepage }}
license: ${{ load_from_file("python/librmm/pyproject.toml").project.license.text | replace(" ", "-") }}
Expand Down

0 comments on commit 689fe92

Please sign in to comment.