Skip to content

Commit b4603da

Browse files
authored
Add docs for standalone version
1 parent f49ab20 commit b4603da

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,27 @@ Benchmarks are implemented under the `benchmark/` sub dir. Check each benchmark'
3939
2. [Lock-Free Datastructure](./benchmark/lockfree_bench/README.md)
4040
3. [LLM](./benchmark/llm_bench/README.md)
4141

42+
### Standalone Benchmark
43+
If you need a portable standalone executable of heimdall (in case your experiment machine does not have internet or cannot install python packages), then:
44+
45+
```console
46+
$ make standalone # Executables are under dist/
47+
$ cd ..
48+
$ tar -zcvf heimdall.tar.gz heimdall/
49+
$ scp heimdall.tar.gz <remote-machine>
50+
```
51+
52+
Then, on the remote machine:
53+
54+
```console
55+
$ tar -zxvf heimdall.tar.gz
56+
$ cd heimdall
57+
$ ./dist/heimdall <sub-commands>
58+
```
59+
60+
> [!NOTE]
61+
> Make sure the heimdall source repo is copied with the standalone binary, because all the C/C++ source code are needed and they are not part of the standalone binary
62+
4263
## Citation
4364

4465
```bibtex

0 commit comments

Comments
 (0)