-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
58 lines (40 loc) · 1.01 KB
/
Makefile
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
##### Build and Run #####
rm.build:
rm -rf build
preset:
cmake --preset=default
preset.release: rm.build
cmake --preset=default -DCMAKE_BUILD_TYPE=Release
build.cmake:
cmake --build build -j 8
run:
GLOG_logtostderr=1 ./build/tools/weaselc/weaselc temp/test.we
run.leaks:
leaks --atExit -- ./build/tools/weaselc/weaselc temp/test.we
dev.leaks: build.cmake run.leaks
dev: build.cmake run
dev.ir: build.cmake
emit_ir=true GLOG_logtostderr=1 ./build/tools/weaselc/weaselc temp/test.we
##### SPIRV #####
spirv:
./config/spirv.sh
spirv.cross:
./config/spirv-cross.sh
spirv.clspv:
./config/spirv-clspv.sh
##### TEST #####
test.cross-test:
./build/test/cross-test/cross-test
test.metal-test:
./build/test/metal-test/metal-test
test.vulkan-test:
./build/test/vulkan-test/vulkan-test
test.parallel-test:
./build/test/parallel-test/parallel-test
test.spirv-test:
./build/test/spirv-test/spirv-test
test.glsl-test:
./build/test/glsl-test/glsl-test temp/test.we
##### File Count #####
count:
python3 file_count.py