<commit_before>{% set name = "rmm" %}
{% set version = "21.12.00" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/rapidsai/rmm/archive/refs/tags/v{{ version }}.tar.gz
  sha256: 71802422a04f2e0a828f7b7ec77e5cd1d24361d6dc5bf60a534659e4c2e08a44
  folder: rmm

build:
  number: 0
  skip: true  # [(not linux) or (cuda_compiler_version ==  "None") or (aarch64) (py < 37) or (py >= 39)]

  script_env:
    - INSTALL_PREFIX=${PREFIX}

  script:
    - cd rmm/python
    - {{ PYTHON }} -m pip install . --no-deps -vv

  missing_dso_whitelist:
    - '*/libcuda.*'  # [linux]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - librmm ={{ version }}
    - python
    - pip
  run:
    - python
    - numba >=0.49
    - numpy
    - {{ pin_compatible('cudatoolkit', max_pin='x', lower_bound='11.2') }} # cudatoolkit >=11.2,<12.0.0{{ pin_compatible('cudatoolkit', max_pin='x', lower_bound='11.2') }} # cudatoolkit >=11.2,<12.0.0
    - pip
    - setuptools
    - cython >=0.29,<0.30
    - spdlog >=1.8.5,<2

test:
  imports:
    - rmm

about:
  home: https://github.com/rapidsai/rmm
  license: Apache-2.0
  license_family: APACHE
  license_file: rmm/LICENSE
  summary: RAPIDS Memory Manager

extra:
  recipe-maintainers:
    - alhad-deshpande
    - leofang<commit_msg>Added cuda compiler again in build<commit_after>{% set name = "rmm" %}
{% set version = "21.12.00" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/rapidsai/rmm/archive/refs/tags/v{{ version }}.tar.gz
  sha256: 71802422a04f2e0a828f7b7ec77e5cd1d24361d6dc5bf60a534659e4c2e08a44
  folder: rmm

build:
  number: 0
  skip: true  # [(not linux) or (cuda_compiler_version ==  "None") or (aarch64) (py < 37) or (py >= 39)]

  script_env:
    - INSTALL_PREFIX=${PREFIX}

  script:
    - cd rmm/python
    - {{ PYTHON }} -m pip install . --no-deps -vv

  missing_dso_whitelist:
    - '*/libcuda.*'  # [linux]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('cuda') }}
  host:
    - librmm ={{ version }}
    - python
    - pip
  run:
    - python
    - numba >=0.49
    - numpy
    - {{ pin_compatible('cudatoolkit', max_pin='x', lower_bound='11.2') }} # cudatoolkit >=11.2,<12.0.0{{ pin_compatible('cudatoolkit', max_pin='x', lower_bound='11.2') }} # cudatoolkit >=11.2,<12.0.0
    - pip
    - setuptools
    - cython >=0.29,<0.30
    - spdlog >=1.8.5,<2

test:
  imports:
    - rmm

about:
  home: https://github.com/rapidsai/rmm
  license: Apache-2.0
  license_family: APACHE
  license_file: rmm/LICENSE
  summary: RAPIDS Memory Manager

extra:
  recipe-maintainers:
    - alhad-deshpande
    - leofang
{'fraction_non_alphanumeric': 0.17300658376005854, 'fraction_numerical': 0.06803218727139722, 'mean_word_length': 2.857545839210155, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2810414', 'n_tokens_mistral': 1231, 'n_tokens_neox': 1138, 'n_words': 209}