Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rapids-build-backend #145

Merged
merged 14 commits into from
May 31, 2024
Prev Previous commit
Next Next commit
Update RBB to version 0.3.0
  • Loading branch information
KyleFromNVIDIA committed May 23, 2024
commit 0a82776bfb5e531c8b9d2be27cc16c093567dce1
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ fi
if (( ${NUMARGS} == 0 )) || hasArg python; then
SKBUILD_CMAKE_ARGS="${SKBUILD_EXTRA_CMAKE_ARGS}" \
SKBUILD_BUILD_OPTIONS="-j${PARALLEL_LEVEL}" \
python -m pip install --no-build-isolation --no-deps --config-setting disable-cuda=true ${REPODIR}/python/cuvs
python -m pip install --no-build-isolation --no-deps --config-setting rapidsai.disable-cuda=true ${REPODIR}/python/cuvs
fi

# Build the cuvs Rust bindings
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies:
- pylibraft==24.8.*,>=0.0.0a0
- pytest-cov
- pytest==7.*
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- recommonmark
- rmm==24.8.*,>=0.0.0a0
- rust
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies:
- pylibraft==24.8.*,>=0.0.0a0
- pytest-cov
- pytest==7.*
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- recommonmark
- rmm==24.8.*,>=0.0.0a0
- rust
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-122_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies:
- pylibraft==24.8.*,>=0.0.0a0
- pytest-cov
- pytest==7.*
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- recommonmark
- rmm==24.8.*,>=0.0.0a0
- rust
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies:
- pylibraft==24.8.*,>=0.0.0a0
- pytest-cov
- pytest==7.*
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- recommonmark
- rmm==24.8.*,>=0.0.0a0
- rust
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/cuvs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ requirements:
- libcuvs {{ version }}
- python x.x
- rmm ={{ minor_version }}
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- scikit-build-core >=0.7.0
- setuptools
run:
Expand Down
4 changes: 2 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ dependencies:
common:
- output_types: [conda]
packages:
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- scikit-build-core>=0.7.0
- output_types: [requirements, pyproject]
packages:
- rapids-build-backend>=0.2.0,<0.3.0.dev0
- rapids-build-backend>=0.3.0,<0.4.0.dev0
KyleFromNVIDIA marked this conversation as resolved.
Show resolved Hide resolved
- scikit-build-core[pyproject]>=0.7.0
rapids_build:
common:
Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[build-system]

requires = [
"rapids-build-backend>=0.2.0,<0.3.0.dev0",
"rapids-build-backend>=0.3.0,<0.4.0.dev0",
"scikit-build-core[pyproject]>=0.7.0",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
build-backend = "rapids_build_backend.build"
Expand Down
Loading