Skip to content

Commit 843f326

Browse files
committed
docs: document how to build parts of efW
Signed-off-by: Lorenz Bauer <[email protected]>
1 parent 8f23ed6 commit 843f326

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/ebpf/contributing/windows.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,21 @@ MSBuild version 17.10.4+10fbfbf2e for .NET Framework
4444
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
4545
```
4646

47+
### Compiling the runtime
48+
4749
!!! note "Pre-built eBPF for Windows binaries"
4850
You may be able to download precompiled binaries from the [efW CI/CD] pipeline.
4951
Look for an artifact called "Build-x64-Debug", which should contain
5052
`setup-ebpf.ps1` mentioned below.
5153

52-
After compilation finishes you can install the runtime:
54+
The upstream instructions currently explain how to compile the full project, which takes quite a long time.
55+
It is possible to build only some parts from the command line:
56+
57+
* Installer: `msbuild /m /p:Configuration=Debug /p:Platform=x64 ebpf-for-windows.sln -t:"installer\ebpf-for-windows"`
58+
* Unit tests: `msbuild /m /p:Configuration=Debug /p:Platform=x64 ebpf-for-windows.sln -t:"tests\unit_tests"`
59+
* Clean: `msbuild /m /p:Configuration=Debug /p:Platform=x64 ebpf-for-windows.sln -t:"Clean"`
60+
61+
After compilation of the installer finishes you can install the runtime:
5362

5463
```
5564
.\x64\Debug\setup-ebpf.ps1

0 commit comments

Comments
 (0)