@@ -34,9 +34,6 @@ TOOL_VIRTUALENV:=$(BUILD_RUNTIMES)/virtualenvs/tools-$(shell scripts/tool-hash.p
34
34
TOOL_PYTHON =$(TOOL_VIRTUALENV ) /bin/python
35
35
TOOL_PIP =$(TOOL_VIRTUALENV ) /bin/pip
36
36
37
- BENCHMARK_VIRTUALENV: =$(BUILD_RUNTIMES ) /virtualenvs/benchmark-$(shell scripts/tool-hash.py benchmark)
38
- BENCHMARK_PYTHON =$(BENCHMARK_VIRTUALENV ) /bin/python
39
-
40
37
FILES_TO_FORMAT =$(BEST_PY3 ) scripts/files-to-format.py
41
38
42
39
@@ -66,11 +63,6 @@ $(TOOL_VIRTUALENV): $(BEST_PY3)
66
63
$(BEST_PY3 ) -m virtualenv $(TOOL_VIRTUALENV )
67
64
$(TOOL_PIP ) install -r requirements/tools.txt
68
65
69
- $(BENCHMARK_VIRTUALENV ) : $(BEST_PY3 )
70
- rm -rf $(BUILD_RUNTIMES ) /virtualenvs/benchmark-*
71
- $(BEST_PY3 ) -m virtualenv $(BENCHMARK_VIRTUALENV )
72
- $(BENCHMARK_PYTHON ) -m pip install -r requirements/benchmark.txt
73
-
74
66
$(TOOLS ) : $(TOOL_VIRTUALENV )
75
67
mkdir -p $(TOOLS )
76
68
@@ -220,14 +212,12 @@ check-rst: $(RSTLINT) $(FLAKE8)
220
212
$(FLAKE8 ) --select=W191,W291,W292,W293,W391 * .rst docs/* .rst
221
213
222
214
compile-requirements : $(PIPCOMPILE )
223
- $(PIPCOMPILE ) requirements/benchmark.in --output-file requirements/benchmark.txt
224
215
$(PIPCOMPILE ) requirements/test.in --output-file requirements/test.txt
225
216
$(PIPCOMPILE ) requirements/tools.in --output-file requirements/tools.txt
226
217
$(PIPCOMPILE ) requirements/typing.in --output-file requirements/typing.txt
227
218
$(PIPCOMPILE ) requirements/coverage.in --output-file requirements/coverage.txt
228
219
229
220
upgrade-requirements :
230
- $(PIPCOMPILE ) --upgrade requirements/benchmark.in --output-file requirements/benchmark.txt
231
221
$(PIPCOMPILE ) --upgrade requirements/test.in --output-file requirements/test.txt
232
222
$(PIPCOMPILE ) --upgrade requirements/tools.in --output-file requirements/tools.txt
233
223
$(PIPCOMPILE ) --upgrade requirements/typing.in --output-file requirements/typing.txt
@@ -242,21 +232,6 @@ secrets.tar.enc: deploy_key .pypirc
242
232
travis encrypt-file secrets.tar
243
233
rm secrets.tar
244
234
245
- check-benchmark : $(BENCHMARK_VIRTUALENV )
246
- PYTHONPATH=src $(BENCHMARK_PYTHON ) scripts/benchmarks.py --check --nruns=100
247
-
248
- build-new-benchmark-data : $(BENCHMARK_VIRTUALENV )
249
- PYTHONPATH=src $(BENCHMARK_PYTHON ) scripts/benchmarks.py --skip-existing --nruns=1000
250
-
251
- update-improved-benchmark-data : $(BENCHMARK_VIRTUALENV )
252
- PYTHONPATH=src $(BENCHMARK_PYTHON ) scripts/benchmarks.py --update=improved --nruns=1000
253
-
254
- update-all-benchmark-data : $(BENCHMARK_VIRTUALENV )
255
- PYTHONPATH=src $(BENCHMARK_PYTHON ) scripts/benchmarks.py --update=all --nruns=1000
256
-
257
- update-benchmark-headers : $(BENCHMARK_VIRTUALENV )
258
- PYTHONPATH=src $(BENCHMARK_PYTHON ) scripts/benchmarks.py --only-update-headers
259
-
260
235
$(TOX ) : $(BEST_PY3 ) tox.ini $(TOOLS )
261
236
rm -f $(TOX )
262
237
ln -sf $(TOOL_VIRTUALENV ) /bin/tox $(TOX )
0 commit comments