Skip to content

Commit f0dfb2a

Browse files
committed
Add missing dep to README, silence some warnings
1 parent d246751 commit f0dfb2a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ KVM_GID=$(getent group kvm | cut -d: -f3) docker compose up
3030
The build dependencies for this VMOD can be found in CI, but briefly:
3131
```
3232
varnish-dev
33+
libssl-dev
3334
libcurl4-openssl-dev
3435
libpcre3-dev
3536
libarchive-dev

lib/libkvm/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ project (kvm_sandbox C CXX)
44
option(SHARED_KVM "Build the KVM sandbox PIC" ON)
55

66
# WARNING: everything!
7-
set(CMAKE_C_FLAGS "-Wall -Wextra -std=c11 -O2 -g")
8-
set(CMAKE_CXX_FLAGS "-Wall -Wextra -std=c++17 -O2 -g")
7+
set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-deprecated-copy -Wno-deprecated-declarations -Wno-unused-parameter -std=c11 -O2 -g")
8+
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-deprecated-copy -Wno-deprecated-declarations -Wno-unused-parameter -std=c++17 -O2 -g")
99

1010
set(KVM_SOURCES
1111
archive.cpp

src/tinykvm/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ add_vmod(vmod_tinykvm vmod_tinykvm.vcc "High-Performance Compute VMOD"
77
vmod_tinykvm_event.c
88
)
99
target_link_libraries(vmod_tinykvm kvm)
10+
target_compile_options(vmod_tinykvm PRIVATE
11+
-Wno-unused-parameter
12+
-Wno-deprecated-declarations
13+
)
1014
add_vmod_vsc(vmod_tinykvm VSC_vmod_kvm.vsc)
1115

1216
# Compute tests

0 commit comments

Comments
 (0)