Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
95 lines (75 loc) · 2.62 KB
/
Copy pathMakefile
File metadata and controls
95 lines (75 loc) · 2.62 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.PHONY: clean_cluster download fetch_pipeline upload_all upload_metaseries
hack_dir := $(HOME)/sponge/hack
clean_cluster := $(hack_dir)/clean_cluster.sh
download_all_results := $(hack_dir)/download_all_results.sh
download_metaseries := $(hack_dir)/download_metaseries.sh
download_profiling_series := $(hack_dir)/download_profiling_series.sh
fetch_pipeline := $(hack_dir)/fetch_pipeline.sh
upload_all_results := $(hack_dir)/upload_all_results.sh
upload_metaseries := $(hack_dir)/upload_metaseries.sh
upload_profiling_series := $(hack_dir)/upload_profiling_series.sh
upload_all_models := $(hack_dir)/upload_all_models.sh
upload_node_models := $(hack_dir)/upload_node_models.sh
clean_cluster:
chmod +x $(clean_cluster)
$(clean_cluster)
@echo "clean_cluster.sh completed"
clean_cluster_force:
chmod +x $(clean_cluster)
$(clean_cluster) --force
@echo "clean_cluster.sh completed"
download_all_results:
chmod +x $(download_all_results)
$(download_all_results)
@echo "download_all_results.sh completed"
download_profiling_series: SERIES ?=
download_profiling_series: download_profiling_series_target
download_profiling_series_target:
chmod +x $(download_profiling_series)
bash $(download_profiling_series) $(SERIES)
@echo "download_profiling_series.sh completed"
fetch_pipeline:
chmod +x $(fetch_pipeline)
$(fetch_pipeline)
@echo "fetch_pipeline.sh completed"
upload_all_results:
chmod +x $(upload_all_results)
$(upload_all_results)
@echo "upload_all_results.sh completed"
upload_metaseries: SERIES ?=
upload_metaseries: upload_metaseries_target
upload_metaseries_target:
chmod +x $(upload_metaseries)
bash $(upload_metaseries) $(SERIES)
@echo "upload_metaseries.sh completed"
upload_profiling_series: SERIES ?=
upload_profiling_series: upload_profiling_series_target
upload_profiling_series_target:
chmod +x $(upload_profiling_series)
bash $(upload_profiling_series) $(SERIES)
@echo "upload_profiling_series.sh completed"
upload_all_models:
chmod +x $(upload_all_models)
$(upload_all_models)
@echo "upload_all_models.sh completed"
download_metaseries: SERIES ?=
download_metaseries: download_metaseries_target
download_metaseries_target:
chmod +x $(download_metaseries)
bash $(download_metaseries) $(SERIES)
@echo "download_metaseries.sh completed"
upload_node_models: NODE ?=
upload_node_models: SOURCE ?=
upload_node_models: upload_node_models_target
upload_node_models_target:
chmod +x $(upload_node_models)
bash $(upload_node_models) $(SOURCE) $(NODE)
@echo "upload_node_models.sh completed"
lint:
black --check .
# flake8 .
# Check if something has changed after generation
git \
--no-pager diff \
--exit-code \
.