-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (28 loc) · 1021 Bytes
/
Makefile
File metadata and controls
39 lines (28 loc) · 1021 Bytes
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
WORKSPACE := ${PWD}
BUILD_DIRECTORY := /tmp/build/$(basename $(notdir ${WORKSPACE}))
.PHONY: default configure build test apps
default: build
configure:
cmake -S $(WORKSPACE) -B $(BUILD_DIRECTORY)
build: configure
cmake --build $(BUILD_DIRECTORY)
test:
cmake -S $(WORKSPACE) -B $(BUILD_DIRECTORY) -DREELAY_BUILD_TESTS=ON
cmake --build $(BUILD_DIRECTORY)
ctest --test-dir $(BUILD_DIRECTORY) --output-on-failure
apps:
cmake -S $(WORKSPACE) -B $(BUILD_DIRECTORY) -DREELAY_BUILD_APPS=ON
cmake --build $(BUILD_DIRECTORY)
cmake --install $(BUILD_DIRECTORY)
install: build
cmake --install $(BUILD_DIRECTORY)
clean:
rm -rf $(BUILD_DIRECTORY)
benchmark:
pip install git+https://github.com/doganulus/timescales.git --break-system-packages
timescales-generate-large --failing-end --output-dir /tmp/benchmarks/data
benchmark-binary: benchmark
git clone https://github.com/doganulus/timescales.git /tmp/timescales
cd /tmp/benchmarks/data && python /tmp/timescales/scripts/to_binary_row.py
docs:
mkdocs serve