-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
meta.yaml
102 lines (95 loc) · 3.4 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{% set version = "1.17.0" %}
package:
name: ucx-split
source:
url: https://github.com/openucx/ucx/releases/download/v{{ version }}/ucx-{{ version }}.tar.gz
sha256: 34658e282f99f89ce7a991c542e9727552734ac6ad408c52f22b4c2653b04276
patches:
################################################################
# Apply upstream patch to fix missing `INFINITY` in UCS time. #
# #
# xref: https://github.com/openucx/ucx/pull/9973 #
################################################################
- patches/PR_9973.patch
build:
skip: true # [not linux or cuda_compiler_version == "None"]
number: 2
outputs:
- name: ucx
version: {{ version }}
build:
run_exports:
- {{ pin_subpackage("ucx", max_pin="x.x") }}
ignore_run_exports_from:
- {{ compiler("cuda") }}
- cuda-cudart-dev # [(cuda_compiler_version or "None").startswith("12")]
missing_dso_whitelist:
- "*libcuda.so*"
- "*libcudart.so*"
- "*libnvidia-ml.so*"
requirements:
build:
- {{ stdlib("c") }}
- {{ compiler("c") }}
- {{ compiler("cxx") }}
- {{ compiler("cuda") }}
- automake
- autoconf
- libtool
- make
- pkg-config
- libgomp
host:
- cuda-version {{ cuda_compiler_version }}
- cuda-cudart-dev # [(cuda_compiler_version or "None").startswith("12")]
- cuda-nvml-dev # [(cuda_compiler_version or "None").startswith("12")]
- rdma-core
run_constrained:
- cuda-version >=11.2,<12 # [(cuda_compiler_version or "None").startswith("11")]
- cuda-version >=12,<13 # [(cuda_compiler_version or "None").startswith("12")]
# The actual version constraint comes from cuda-version, so below we explicit list
# them only to codify that these are expected (but optional) dependencies when CUDA
# is in use.
- cudatoolkit # [(cuda_compiler_version or "None").startswith("11")]
- cuda-cudart # [(cuda_compiler_version or "None").startswith("12")]
script: install_ucx.sh
test:
commands:
- test -f "${PREFIX}/lib/libucp${SHLIB_EXT}"
- test ! -f "${PREFIX}/lib/libucp.a"
- test -f "${PREFIX}/lib/libucm${SHLIB_EXT}"
- test ! -f "${PREFIX}/lib/libucm.a"
- test -f "${PREFIX}/lib/libucs${SHLIB_EXT}"
- test ! -f "${PREFIX}/lib/libucs.a"
- test -f "${PREFIX}/lib/libuct${SHLIB_EXT}"
- test ! -f "${PREFIX}/lib/libuct.a"
- test -f "${PREFIX}/bin/.ucx-post-link.sh"
- test -f "${PREFIX}/bin/ucx_info"
# Fails on ppc64le
- ucx_info -v # [not ppc64le]
about:
home: https://openucx.org
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: Unified Communication X.
dev_url: https://github.com/openucx/ucx
doc_url: https://openucx.readthedocs.io/
about:
home: https://github.com/openucx/ucx
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: Unified Communication X.
dev_url: https://github.com/openucx/ucx
doc_url: https://openucx.readthedocs.io/
extra:
recipe-maintainers:
- marcinz
- Akshay-Venkatesh
- jakirkham
- quasiben
- TomAugspurger
- leofang
- matthiasdiener
- xhochy