-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (30 loc) · 1.08 KB
/
Copy pathMakefile
File metadata and controls
43 lines (30 loc) · 1.08 KB
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
.PHONY: fmt
fmt:
cargo +nightly fmt
.PHONY: clean
clean:
rm -rf target
.PHONY: update_deps
update_deps:
cargo update
.PHONY: s3_integration_test
s3_integration_test:
$(MAKE) -C s3 integration-test
.PHONY: check
check:
cargo check
cargo check --all-features
cargo check --no-default-features
.PHONY: check_all
check_all: check
RUSTFLAGS="-C target-feature=-avx2,-avx512f" cargo check --target=x86_64-unknown-linux-gnu --all-features
RUSTFLAGS="-C target-feature=-avx2,-avx512f" cargo check --target=x86_64-unknown-linux-gnu --no-default-features
RUSTFLAGS="-C target-feature=+avx2,+avx512f" cargo check --target=x86_64-unknown-linux-gnu --all-features
RUSTFLAGS="-C target-feature=+avx2,+avx512f" cargo check --target=x86_64-unknown-linux-gnu --no-default-features
# aarch64 assumes that NEON instructions are always present
cargo check --target=aarch64-unknown-linux-gnu --all-features
cargo check --target=aarch64-unknown-linux-gnu --no-default-features
.PHONY: docs
docs:
RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --no-deps --all-features
node tools/docs-index/docs_index.js