Skip to content

Commit 34fe74c

Browse files
authored
Remove Bazel steps from Contributing Guide (#2324)
1 parent c67a0c7 commit 34fe74c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,6 @@ The first line relies on having an installation of [the GitHub CLI](https://gith
112112
Following these commands you should be able to run the tests using `pytest keras_cv`.
113113
Please report any issues running tests following these steps.
114114

115-
Note that this will _not_ install custom ops. If you'd like to install custom ops from source, you can compile the binaries and add them to your local environment manually (requires Bazel):
116-
117-
```shell
118-
python build_deps/configure.py
119-
120-
bazel build keras_cv/custom_ops:all
121-
mv bazel-bin/keras_cv/custom_ops/*.so keras_cv/custom_ops
122-
```
123-
124115
## Run tests
125116

126117
KerasCV is tested using [PyTest](https://docs.pytest.org/en/6.2.x/).
@@ -148,18 +139,6 @@ You can run the unit tests for KerasCV by running:
148139
pytest keras_cv/
149140
```
150141

151-
### Tests that require custom ops
152-
153-
For tests that require custom ops, you'll have to compile the custom ops and make them available to your local Python code:
154-
155-
```shell
156-
python build_deps/configure.py
157-
bazel build keras_cv/custom_ops:all
158-
cp bazel-bin/keras_cv/custom_ops/*.so keras_cv/custom_ops/
159-
```
160-
161-
Tests which use custom ops are disabled by default, but can be run by setting the environment variable `TEST_CUSTOM_OPS=true`.
162-
163142
## Formatting the Code
164143

165144
We use `flake8`, `isort`, `black` and `clang-format` for code formatting. You can run

0 commit comments

Comments
 (0)