-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
52 lines (36 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
BASE_BENCH_CMD = python -m pytest -v --benchmark-sort name --benchmark-only benchmarks/ -k
test:
python -m pytest tests -n auto -v --ignore benchmarks
test-bench:
python -m pytest -v --benchmark-disable benchmarks/
bench:
python -m pytest -v --benchmark-only --benchmark-sort name benchmarks/
bench-snappy-framed:
$(BASE_BENCH_CMD) test_snappy_framed
bench-snappy-raw:
$(BASE_BENCH_CMD) test_snappy_raw
bench-snappy-compress-into:
$(BASE_BENCH_CMD) snappy_de_compress_into
bench-lz4:
$(BASE_BENCH_CMD) lz4
bench-lz4-block:
$(BASE_BENCH_CMD) lz4_block
bench-gzip:
$(BASE_BENCH_CMD) gzip
bench-brotli:
$(BASE_BENCH_CMD) brotli
bench-bzip2:
$(BASE_BENCH_CMD) bzip2
bench-zstd:
$(BASE_BENCH_CMD) zstd
bench-blosc2:
$(BASE_BENCH_CMD) blosc2
bench-lzma:
$(BASE_BENCH_CMD) lzma
dev-install:
rm -rf ./dist
maturin build --release --out dist --interpreter $(shell which python)
pip uninstall cramjam -y
pip install cramjam --no-index --find-links dist/
pypy-build:
maturin build -i $(shell which pypy) --release --out dist