<commit_before>{% set name = "libcugraph" %}
{% set version = "0.19.0" %}

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

source:
  - url: https://github.com/rapidsai/cugraph/archive/refs/tags/v{{ version }}a.tar.gz
    sha256: eea8eb788ee2e9f369b6d4911c8cb7c4819453e17aa855eac14af86ee27f627e
    folder: cugraph
  # libcugraph depends on the RMM header-only library of the same version.
  - url: https://github.com/rapidsai/rmm/archive/refs/tags/v{{ version }}a.tar.gz
    sha256: aa2b6542e51e9d3bec1c4053ab2a06af8fb8e9a94be3832418109904ebebb276
    folder: rmm

build:
  number: 0
  skip: true  # [(not linux) or (cuda_compiler_version == "None")]
  run_exports:
    - {{ pin_subpackage(name, max_pin="x.x") }}

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('cuda') }}
    - cmake >=3.12.4
    - make
  host:
    - boost-cpp >=1.66
    - nccl >=2.8.4
    - ucx-proc =*=gpu
    - faiss-proc =*=cuda
    - libfaiss =1.7.0

test:
  commands:
    # Only testing for select headers and the library
    - test -f $PREFIX/include/cugraph/version_confg.hpp
    - test -f $PREFIX/include/cugraph/algorithms.hpp
    - test -f $PREFIX/include/cugraph/graph.hpp
    - test -f $PREFIX/lib/libcugraph.so

about:
  home: https://github.com/rapidsai/cugraph
  license: Apache-2.0
  license_file: ../../../LICENSE.txt
  summary: 'GPU accelerated graph algorithms'<commit_msg>Added build string to libfaiss version pin.<commit_after>{% set name = "libcugraph" %}
{% set version = "0.19.0" %}

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

source:
  - url: https://github.com/rapidsai/cugraph/archive/refs/tags/v{{ version }}a.tar.gz
    sha256: eea8eb788ee2e9f369b6d4911c8cb7c4819453e17aa855eac14af86ee27f627e
    folder: cugraph
  # libcugraph depends on the RMM header-only library of the same version.
  - url: https://github.com/rapidsai/rmm/archive/refs/tags/v{{ version }}a.tar.gz
    sha256: aa2b6542e51e9d3bec1c4053ab2a06af8fb8e9a94be3832418109904ebebb276
    folder: rmm

build:
  number: 0
  skip: true  # [(not linux) or (cuda_compiler_version == "None")]
  run_exports:
    - {{ pin_subpackage(name, max_pin="x.x") }}

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('cuda') }}
    - cmake >=3.12.4
    - make
  host:
    - boost-cpp >=1.66
    - nccl >=2.8.4
    - ucx-proc =*=gpu
    - faiss-proc =*=cuda
    - libfaiss =1.7.0=*_cuda

test:
  commands:
    # Only testing for select headers and the library
    - test -f $PREFIX/include/cugraph/version_confg.hpp
    - test -f $PREFIX/include/cugraph/algorithms.hpp
    - test -f $PREFIX/include/cugraph/graph.hpp
    - test -f $PREFIX/lib/libcugraph.so

about:
  home: https://github.com/rapidsai/cugraph
  license: Apache-2.0
  license_file: ../../../LICENSE.txt
  summary: 'GPU accelerated graph algorithms'
{'fraction_non_alphanumeric': 0.15168344324887192, 'fraction_numerical': 0.07011454356126345, 'mean_word_length': 3.0706214689265536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '5259153', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1127, 'n_words': 217}