-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathjustfile
More file actions
54 lines (40 loc) · 1.7 KB
/
justfile
File metadata and controls
54 lines (40 loc) · 1.7 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
default:
@just -l
generate CXX="17":
cmake -G Xcode -B Build{{CXX}} -DLUABRIDGE_BENCHMARKS=ON -DCMAKE_CXX_STANDARD={{CXX}} .
open CXX="17":
@just generate {{CXX}}
-open Build{{CXX}}/LuaBridge.xcodeproj
build CXX="17":
@just generate {{CXX}}
cmake --build Build{{CXX}} --config Debug -j8
test CXX="17":
@just build {{CXX}}
ctest --test-dir Build{{CXX}} -C Debug -j8
test-all:
@just test 17
@just test 20
@just test 23
build1 CXX="17":
@just generate {{CXX}}
cmake --build Build{{CXX}} --config Debug --target LuaBridgeTests54 -j8
test1 CXX="17":
@just build1 {{CXX}}
./Build{{CXX}}/Tests/Debug/LuaBridgeTests54
sanitize TYPE="address" CXX="17":
cmake -G Xcode -B Build{{CXX}} -DLUABRIDGE_SANITIZE={{TYPE}} .
benchmark CXX="17":
@just generate {{CXX}}
cmake --build Build{{CXX}} --config Release --target LuaBridge3Benchmark -j8
cmake --build Build{{CXX}} --config Release --target LuaBridgeVanillaBenchmark -j8
cmake --build Build{{CXX}} --config Release --target Sol3Benchmark -j8
./Build{{CXX}}/Benchmarks/Release/LuaBridge3Benchmark --benchmark_out_format=json --benchmark_out=Build{{CXX}}/LuaBridge3Benchmark.json
./Build{{CXX}}/Benchmarks/Release/LuaBridgeVanillaBenchmark --benchmark_out_format=json --benchmark_out=Build{{CXX}}/LuaBridgeVanillaBenchmark.json
./Build{{CXX}}/Benchmarks/Release/Sol3Benchmark --benchmark_out_format=json --benchmark_out=Build{{CXX}}/Sol3Benchmark.json
@just plot {{CXX}}
plot CXX="17":
uv run --with-requirements Benchmarks/requirements.txt Benchmarks/plot_benchmarks.py --input Build{{CXX}}/*.json --output Images/benchmarks.png
amalgamate:
uv run amalgamate.py
clean:
rm -rf Build