Skip to content

Commit

Permalink
FIX CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dantegd committed Mar 2, 2024
1 parent d1c06d6 commit 41be870
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2023-2024, NVIDIA CORPORATION.
# Copyright (c) 2023, NVIDIA CORPORATION.

set -euo pipefail

Expand Down Expand Up @@ -37,9 +37,12 @@ if ! rapids-is-release-build; then
fi

sed -r -i "s/rmm(.*)\"/rmm${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/pylibraft(.*)\"/pylibraft${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file}

sed -r -i "s/pylibraft==(.*)\"/pylibraft${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/rmm==(.*)\"/rmm${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file}

if [[ $PACKAGE_CUDA_SUFFIX == "-cu12" ]]; then
sed -i "s/cuda-python[<=>\.,0-9a]*/cuda-python>=12.0,<13.0a0/g" ${pyproject_file}
fi

cd "${package_dir}"

Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/cuvs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ requirements:
{% endif %}
- cuda-version ={{ cuda_version }}
- cython >=3.0.0
- pylibraft {{ version }}
- pylibraft {{ minor_version }}
- libcuvs {{ version }}
- python x.x
- rmm ={{ minor_version }}
Expand All @@ -57,7 +57,7 @@ requirements:
{% if cuda_major == "11" %}
- cudatoolkit
{% endif %}
- pylibraft {{ version }}
- pylibraft {{ minor_version }}
- libcuvs {{ version }}
- python x.x
- rmm ={{ minor_version }}
Expand Down

0 comments on commit 41be870

Please sign in to comment.