-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (25 loc) · 921 Bytes
/
Makefile
File metadata and controls
36 lines (25 loc) · 921 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
.PHONY: build clean install
VENV := .venv
PYTHON := $(VENV)/bin/python
MKDOCS := $(VENV)/bin/mkdocs
build: install
$(MKDOCS) build
install: $(VENV)/bin/activate docs/CNAME requirements.txt
$(PYTHON) -m pip install --upgrade pip
$(PYTHON) -m pip install -r requirements.txt
$(VENV)/bin/activate:
python3 -m venv $(VENV)
tutorial:
git clone https://github.com/eunomia-bpf/bpf-developer-tutorial tutorial --depth=1
bpftime:
git clone https://github.com/eunomia-bpf/bpftime --depth=1
cuda-exp:
git clone https://github.com/eunomia-bpf/basic-cuda-tutorial cuda-exp --depth=1
cupti-exp:
git clone https://github.com/eunomia-bpf/cupti-tutorial cupti-exp --depth=1
nvbit-tutorial:
git clone https://github.com/eunomia-bpf/nvbit-tutorial --depth=1
docs/CNAME: tutorial cuda-exp cupti-exp nvbit-tutorial bpftime
./rename.sh
clean:
rm -rf tutorial site docs/tutorials bpftime cuda-exp cupti-exp nvbit-tutorial