-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
63 lines (46 loc) · 1.36 KB
/
Justfile
File metadata and controls
63 lines (46 loc) · 1.36 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
minibench:
pip install .
python scripts/minibench.py
install-python-extension:
pip install --no-build-isolation -ve .
example: build-example
build/fashion
debug target:
just build {{target}}
rr record build/{{target}}
run target:
just build {{target}}
build/{{target}}
profile target:
just build {{target}}
samply record build/{{target}}
open-debugger:
gdbgui --gdb-cmd 'rr replay --'
build target:
cmake --build build --config RelWithDebugInfo -j --target {{target}}
profile-example: build-example
samply record build/fashion
build-example:
cmake --build build -j --target fashion
test: build-tests
build/tests "angular distance trie index"
build-tests:
cmake --config RelWithDebugInfo --build build -j --target tests
clean:
cd build && make clean
setup-cmake:
test -d build || mkdir build
cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..
generate-compile-commands:
just clean
bear -- cmake --build build -j
scan-build:
just clean
scan-build just build
# Build the apptainer container with the python package
container:
nix build .#container
# Build the apptainer container and copy it to the remote target,
# that should be a valid rsync destination (e.g. ceccarello@login.dei.unipd.it:panna.sif)
deploy-container remote: container
rsync --progress $(readlink result) {{remote}}