diff --git a/.github/workflows/dependency-files.yml b/.github/workflows/dependency-files.yml new file mode 100644 index 000000000..aeda16f41 --- /dev/null +++ b/.github/workflows/dependency-files.yml @@ -0,0 +1,8 @@ +name: dependency-files + +on: + pull_request: + +jobs: + check-generated-files: + uses: rapidsai/shared-action-workflows/.github/workflows/dependency-files.yaml@main diff --git a/README.md b/README.md index 3aeaa5b24..507c5e325 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ $ cd rmm - Create the conda development environment `rmm_dev` ```bash # create the conda environment (assuming in base `rmm` directory) -$ conda env create --name rmm_dev --file conda/environments/rmm_dev_cuda11.0.yml +$ conda env create --name rmm_dev --file conda/environments/all_cuda-115_arch-x86_64.yaml # activate the environment $ conda activate rmm_dev ``` diff --git a/conda/environments/rmm_dev_cuda11.5.yml b/conda/environments/all_cuda-115_arch-x86_64.yaml similarity index 64% rename from conda/environments/rmm_dev_cuda11.5.yml rename to conda/environments/all_cuda-115_arch-x86_64.yaml index 83ae65eaf..5efa00959 100644 --- a/conda/environments/rmm_dev_cuda11.5.yml +++ b/conda/environments/all_cuda-115_arch-x86_64.yaml @@ -1,24 +1,25 @@ -name: rmm_dev +# This file is generated by `rapids-dependency-file-generator`. +# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. channels: - rapidsai - conda-forge dependencies: -- clang=11.1.0 +- black=22.3.0 - clang-tools=11.1.0 +- clang=11.1.0 - cmake>=3.20.1,!=3.23.0 - cmakelang=0.6.13 +- cuda-python>=11.5,<11.7.1 +- cudatoolkit=11.5 +- cython>=0.29,<0.30 - flake8=3.8.3 -- black=22.3.0 +- gcovr>=5.0 - isort=5.10.1 -- python>=3.8,<3.10 - numba>=0.49 - numpy>=1.19 -- cffi>=1.10.0 - pytest -- cudatoolkit=11.5 +- pytest-cov +- python>=3.8,<3.10 - scikit-build>=0.13.1 - spdlog>=1.8.5,<1.9 -- cython>=0.29,<0.30 -- gcovr>=5.0 -- cuda-python>=11.5,<11.7.1 -- sphinx_rtd_theme +name: all_cuda-115_arch-x86_64 diff --git a/conda/environments/rmm_dev_cuda11.6.yml b/conda/environments/all_cuda-116_arch-x86_64.yaml similarity index 58% rename from conda/environments/rmm_dev_cuda11.6.yml rename to conda/environments/all_cuda-116_arch-x86_64.yaml index 46bc60649..65ab0e6a0 100644 --- a/conda/environments/rmm_dev_cuda11.6.yml +++ b/conda/environments/all_cuda-116_arch-x86_64.yaml @@ -1,24 +1,25 @@ -name: rmm_dev +# This file is generated by `rapids-dependency-file-generator`. +# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. channels: - rapidsai - conda-forge dependencies: -- clang=11.1.0 +- black=22.3.0 - clang-tools=11.1.0 +- clang=11.1.0 - cmake>=3.20.1,!=3.23.0 - cmakelang=0.6.13 +- cuda-python>=11.6,<11.7.1 +- cudatoolkit=11.6 +- cython>=0.29,<0.30 - flake8=3.8.3 -- black=22.3.0 +- gcovr>=5.0 - isort=5.10.1 -- python>=3.8,<3.10 - numba>=0.49 - numpy>=1.19 -- cffi>=1.10.0 - pytest -- cudatoolkit=11.6 +- pytest-cov +- python>=3.8,<3.10 - scikit-build>=0.13.1 - spdlog>=1.8.5,<1.9 -- cython>=0.29,<0.30 -- gcovr>=5.0 -- cuda-python>=11.6,11.7.1 -- sphinx_rtd_theme +name: all_cuda-116_arch-x86_64 diff --git a/dependencies.yaml b/dependencies.yaml new file mode 100644 index 000000000..583e9415d --- /dev/null +++ b/dependencies.yaml @@ -0,0 +1,64 @@ +# Dependency list for https://github.com/rapidsai/dependency-file-generator +files: + all: + generate: conda + matrix: + cuda: ["11.5", "11.6"] + arch: [x86_64] + includes: + - build + - develop + - run + - test + test: + generate: none + includes: + - test +channels: + - rapidsai + - conda-forge +dependencies: + conda_and_requirements: + common: + build: + - cmake>=3.20.1,!=3.23.0 + - cython>=0.29,<0.30 + - python>=3.8,<3.10 + - scikit-build>=0.13.1 + run: + - numba>=0.49 + - numpy>=1.19 + develop: + - black=22.3.0 + - clang=11.1.0 + - cmakelang=0.6.13 + - flake8=3.8.3 + - gcovr>=5.0 + - isort=5.10.1 + test: + - pytest + - pytest-cov + specific: + - matrix: + cuda: "11.5" + build: + - cuda-python>=11.5,<11.7.1 + - matrix: + cuda: "11.6" + build: + - cuda-python>=11.6,<11.7.1 + conda: + common: + build: + - spdlog>=1.8.5,<1.9 + develop: + - clang-tools=11.1.0 + specific: + - matrix: + cuda: "11.5" + build: + - cudatoolkit=11.5 + - matrix: + cuda: "11.6" + build: + - cudatoolkit=11.6