-
Notifications
You must be signed in to change notification settings - Fork 527
/
meta.yaml
58 lines (53 loc) · 1.52 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright (c) 2018-2021, NVIDIA CORPORATION.
# Usage:
# conda build . -c defaults -c conda-forge -c nvidia -c rapidsai -c pytorch
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') + environ.get('VERSION_SUFFIX', '') %}
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
{% set cuda_version='.'.join(environ.get('CUDA', '9.2').split('.')[:2]) %}
{% set cuda_major = environ.get('CUDA', '9.2').split('.')[0] %}
{% set cuda_minor = environ.get('CUDA', '9.2').split('.')[1] %}
package:
name: libcuml
version: {{ version }}
source:
git_url: ../../..
build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
- CUDAHOSTCXX
- PARALLEL_LEVEL
- VERSION_SUFFIX
- PROJECT_FLASH
requirements:
build:
- cmake>=3.14
- clang=8.0.1
- clang-tools=8.0.1
host:
- nccl >=2.5
- cudf {{ minor_version }}
- cudatoolkit {{ cuda_version }}.*
- ucx-py {{ minor_version }}
- libcumlprims {{ minor_version }}
- lapack
- treelite=1.0.0
- faiss-proc=*=cuda
- gtest=1.10.0
- libfaiss=1.6.3
run:
- libcumlprims {{ minor_version }}
- cudf {{ minor_version }}
- nccl>=2.5
- ucx-py {{ minor_version }}
- {{ pin_compatible('cudatoolkit', max_pin='x.x') }}
- treelite=1.0.0
- faiss-proc=*=cuda
- libfaiss=1.6.3
about:
home: http://rapids.ai/
license: Apache-2.0
# license_file: LICENSE
summary: libcuml library