-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkraft.yaml
47 lines (41 loc) · 1.02 KB
/
kraft.yaml
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
specification: '0.4'
unikraft:
version: 'gcov'
kconfig:
# Enable 9pfs filesystem support.
- CONFIG_LIBUK9P=y
- CONFIG_LIB9PFS=y
- CONFIG_LIBVFSCORE_AUTOMOUNT_ROOTFS=y
- CONFIG_LIBVFSCORE_ROOTFS_9PFS=y
- CONFIG_LIBUKLIBPARAM=y
# Enable profile-guided optimization (PGO) and coverage support.
- CONFIG_OPTIMIZE_PGO=y
- CONFIG_OPTIMIZE_PGO_GENERATE=y
#- CONFIG_OPTIMIZE_PGO_USE=y
- CONFIG_LIBGCOV=y
# Enable other options needed by dependencies.
- CONFIG_LIBUKSCHEDCOOP=y
- CONFIG_LIBPOSIX_PROCESS=y
- CONFIG_LIBPOSIX_SYSINFO=y
- CONFIG_LIBPOSIX_USER=y
- CONFIG_LIBUKTIME=y
architectures:
x86_64: true
platforms:
kvm: true
libraries:
pthread-embedded: 'staging'
libunwind: 'staging'
compiler-rt: 'staging'
libcxxabi: 'staging'
libcxx: 'staging'
newlib: 'staging'
gcc:
version: 'gcov'
source: 'https://github.com/cs-pub-ro/unikraft'
run:
arguments: vfs.rootdev=fs0 vfs.rootfs=9pfs --
volumes:
fs0:
driver: 9pfs
source: ./fs0