File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 3
3
4
4
set -euo pipefail
5
5
6
- rapids-configure-conda-channels
7
-
8
6
source rapids-date-string
9
7
10
8
rapids-print-env
11
9
12
10
rapids-generate-version > ./VERSION
11
+ RAPIDS_PACKAGE_VERSION=$( head -1 ./VERSION)
12
+ export RAPIDS_PACKAGE_VERSION
13
+
14
+ # populates `RATTLER_CHANNELS` array
15
+ source rapids-rattler-channel-string
16
+
17
+ rapids-logger " Building ucx-py"
13
18
14
- rapids-logger " Begin py build"
15
- conda config --set path_conflict prevent
19
+ # Need `--experimental` flag to use `load_from_file` and `git.head_rev`
20
+ rattler-build build --recipe conda/recipes/ucx-py \
21
+ --experimental \
22
+ --channel-priority disabled \
23
+ --output-dir " $RAPIDS_CONDA_BLD_OUTPUT_DIR " \
24
+ " ${RATTLER_CHANNELS[@]} "
16
25
17
- RAPIDS_PACKAGE_VERSION=$( head -1 ./VERSION) rapids-conda-retry build \
18
- conda/recipes/ucx-py
26
+ # remove build_cache directory to avoid uploading the entire source tree
27
+ # tracked in https://github.com/prefix-dev/rattler-build/issues/1424
28
+ rm -rf " $RAPIDS_CONDA_BLD_OUTPUT_DIR " /build_cache
19
29
20
30
rapids-upload-conda-to-s3 python
You can’t perform that action at this time.
0 commit comments