forked from alibaba/GraphScope
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 838 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 838 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
OPT?=poc
CUR_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
ifeq ($(JAVA_HOME),)
java:=java
else
java:=$(JAVA_HOME)/bin/java
endif
UNAME_S := $(shell uname -s)
UNAME_M := $(shell uname -m)
config.path:=config/interactive-benchmark.properties
QUIET_OPT := --quiet
build:
cd $(CUR_DIR) && mvn clean package ${QUIET_OPT} && \
cd target && \
tar zxvf gaia-benchmark-0.0.1-SNAPSHOT-dist.tar.gz > /dev/null
clean:
cd $(CUR_DIR) && mvn clean
run:
cd $(CUR_DIR) && $(java) \
-cp "$(CUR_DIR)/target/gaia-benchmark-0.0.1-SNAPSHOT/lib/*" \
com.alibaba.graphscope.gaia.benchmark.InteractiveBenchmark ${config.path}
collect:
cd $(CUR_DIR) && $(java) \
-cp "$(CUR_DIR)/target/gaia-benchmark-0.0.1-SNAPSHOT/lib/*" \
com.alibaba.graphscope.gaia.benchmark.CollectResult ${config.path}
.PHONY: build run