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

remove legate #345

Merged
merged 4 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ cpp/ @rapidsai/kvikio-cpp-codeowners
#python code owners
python/ @rapidsai/kvikio-python-codeowners

#legate code owners
legate/ @rapidsai/kvikio-cpp-codeowners @rapidsai/kvikio-python-codeowners

#cmake code owners
**/CMakeLists.txt @rapidsai/kvikio-cmake-codeowners
**/cmake/ @rapidsai/kvikio-cmake-codeowners
Expand Down
3 changes: 0 additions & 3 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ KvikIO (Python):
libkvikio:
- 'cpp/**'

legate:
- 'legate/**'

CMake:
- '**/CMakeLists.txt'
- '**/cmake/**'
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
*.*~
build
python/_skbuild
legate/_skbuild
legate/legate_kvikio/install_info.py
legate/record.txt
python/record.txt
*.so
dask-worker-space
Expand Down
10 changes: 3 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2022, NVIDIA CORPORATION.
# Copyright (c) 2019-2024, NVIDIA CORPORATION.

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -13,22 +13,18 @@ repos:
args: ["--config-root=python/", "--resolve-all-configs"]
files: python/.*
types_or: [python, cython, pyi]
- id: isort
args: ["--config-root=legate/", "--resolve-all-configs"]
files: legate/.*
types_or: [python, cython, pyi]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
files: (python|legate)/.*
files: python/.*
args: ["--config", "python/pyproject.toml"]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
args: ["--config=.flake8"]
files: (python|legate)/.*$
files: python/.*$
types: [file]
types_or: [python, cython]
additional_dependencies: ["flake8-force"]
Expand Down
9 changes: 3 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ ARGS=$*
# script, and that this script resides in the repo dir!
REPODIR=$(cd $(dirname $0); pwd)

VALIDARGS="clean libkvikio kvikio legate -v -g -n -s --ptds -h"
HELP="$0 [clean] [libkvikio] [kvikio] [legate] [-v] [-g] [-n] [-s] [--ptds] [--cmake-args=\"<args>\"] [-h]
VALIDARGS="clean libkvikio kvikio -v -g -n -s --ptds -h"
HELP="$0 [clean] [libkvikio] [kvikio] [-v] [-g] [-n] [-s] [--ptds] [--cmake-args=\"<args>\"] [-h]
clean - remove all existing build artifacts and configuration (start over)
libkvikio - build and install the libkvikio C++ code
kvikio - build and install the kvikio Python package
legate - build and install the legate-kvikio Python package
-v - verbose build mode
-g - build for debug
-n - no install step
Expand All @@ -33,8 +32,7 @@ HELP="$0 [clean] [libkvikio] [kvikio] [legate] [-v] [-g] [-n] [-s] [--ptds] [--c
"
LIBKVIKIO_BUILD_DIR=${LIBKVIKIO_BUILD_DIR:=${REPODIR}/cpp/build}
KVIKIO_BUILD_DIR="${REPODIR}/python/build ${REPODIR}/python/_skbuild"
LEGATE_BUILD_DIR="${REPODIR}/legate/build ${REPODIR}/legate/_skbuild"
BUILD_DIRS="${LIBKVIKIO_BUILD_DIR} ${KVIKIO_BUILD_DIR} ${LEGATE_BUILD_DIR}"
BUILD_DIRS="${LIBKVIKIO_BUILD_DIR} ${KVIKIO_BUILD_DIR}"

# Set defaults for vars modified by flags to this script
VERBOSE_FLAG=""
Expand Down Expand Up @@ -131,7 +129,6 @@ if hasArg clean; then
rmdir "${bd}" || true
fi
done
rm -f ${REPODIR}/legate/legate_kvikio/install_info.py
fi

################################################################################
Expand Down
2 changes: 0 additions & 2 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ sed_runner 's/set(kvikio_version.*)/set(kvikio_version '${NEXT_FULL_TAG}')/g' py

# Python __init__.py updates
sed_runner "s/__version__ = .*/__version__ = \"${NEXT_FULL_TAG}\"/g" python/kvikio/__init__.py
sed_runner "s/__version__ = .*/__version__ = \"${NEXT_FULL_TAG}\"/g" legate/legate_kvikio/__init__.py

# Python pyproject.toml updates
sed_runner "s/^version = .*/version = \"${NEXT_FULL_TAG}\"/g" python/pyproject.toml
sed_runner "s/^version = .*/version = \"${NEXT_FULL_TAG}\"/g" legate/pyproject.toml

# rapids-cmake version
sed_runner 's/'"branch-.*\/RAPIDS.cmake"'/'"branch-${NEXT_SHORT_TAG}\/RAPIDS.cmake"'/g' cpp/cmake/fetch_rapids.cmake
Expand Down
1 change: 0 additions & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask>=2022.05.2
- distributed>=2022.05.2
- doxygen=1.9.1
- gcc_linux-64=11.*
- libcufile-dev=1.4.0.31
Expand Down
1 change: 0 additions & 1 deletion conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask>=2022.05.2
- distributed>=2022.05.2
- doxygen=1.9.1
- gcc_linux-64=11.*
- libcufile-dev
Expand Down
33 changes: 0 additions & 33 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ files:
arch: [x86_64]
includes:
- build
- build_legate_wheel
- checks
- cuda
- cuda_version
Expand All @@ -16,7 +15,6 @@ files:
- py_version
- run
- test_python
- test_python_legate
test_cpp:
output: none
includes:
Expand Down Expand Up @@ -61,31 +59,6 @@ files:
key: test
includes:
- test_python
legate_py_build:
output: pyproject
pyproject_dir: legate
extras:
table: build-system
includes:
- build
- build_legate_wheel
legate_py_run:
output: pyproject
pyproject_dir: legate
extras:
table: project
includes:
- depends_on_cupy
- run
legate_py_optional_test:
output: pyproject
pyproject_dir: legate
extras:
table: project.optional-dependencies
key: test
includes:
- test_python
- test_python_legate
channels:
- rapidsai
- rapidsai-nightly
Expand Down Expand Up @@ -136,12 +109,6 @@ dependencies:
cuda: "12.*"
packages:
- cuda-nvcc
build_legate_wheel:
common:
- output_types: [requirements, pyproject]
packages:
- setuptools
- wheel
checks:
common:
- output_types: [conda, requirements]
Expand Down
40 changes: 0 additions & 40 deletions legate/CMakeLists.txt

This file was deleted.

Loading
Loading