-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 755 Bytes
/
Makefile
File metadata and controls
29 lines (22 loc) · 755 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
PYTHON ?= $(shell command -v python3.10 2>/dev/null || command -v python3)
URL ?= http://localhost:8080
TOKEN ?=
USER_ID ?= 1
NAME ?= My Runtime
.PHONY: preflight run run-nullalis demo demo-docker site
preflight:
bash scripts/preflight.sh "$(URL)" "$(TOKEN)" "$(USER_ID)"
run:
bash scripts/run_twinbench.sh "$(URL)" "$(TOKEN)" "$(NAME)" "$(USER_ID)"
run-nullalis:
bash scripts/run_twinbench_nullalis_local.sh
demo:
$(PYTHON) -m harness.demo_runtime_fixture --host 127.0.0.1 --port 8090 & \
DEMO_PID=$$!; \
sleep 1; \
bash scripts/run_twinbench_demo.sh http://127.0.0.1:8090 demo-internal-token "TwinBench Demo Runtime" demo-user; \
kill $$DEMO_PID
demo-docker:
docker compose up --build benchmark
site:
$(PYTHON) scripts/build_website.py