-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Makefile
37 lines (29 loc) · 584 Bytes
/
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
.PHONY: all clean buildlib wheel pub mac-arm64
buildlib:
@echo "Building library..."
@cd chdb && bash build.sh
@echo "Done."
wheel:
@echo "Building wheel..."
tox -e build -- --wheel
@echo "Done."
test:
@echo "Testing..."
cd tests && python3 run_all.py
pub:
@echo "Publishing wheel..."
tox -e publish
@echo "Done."
clean:
@echo "Cleaning..."
tox -e clean
@echo "Done."
mac-arm64:
@echo "Make macOS arm64 whl"
chdb/build_mac_arm64.sh
@echo "Done."
linux-arm64:
@echo "Make linux arm64 whl"
chdb/build_linux_arm64.sh
@echo "Done."
build: clean buildlib wheel