File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ KVM_GID=$(getent group kvm | cut -d: -f3) docker compose up
3030The build dependencies for this VMOD can be found in CI, but briefly:
3131```
3232varnish-dev
33+ libssl-dev
3334libcurl4-openssl-dev
3435libpcre3-dev
3536libarchive-dev
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ project (kvm_sandbox C CXX)
44option (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
1010set (KVM_SOURCES
1111 archive.cpp
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ add_vmod(vmod_tinykvm vmod_tinykvm.vcc "High-Performance Compute VMOD"
77 vmod_tinykvm_event.c
88)
99target_link_libraries (vmod_tinykvm kvm)
10+ target_compile_options (vmod_tinykvm PRIVATE
11+ -Wno-unused-parameter
12+ -Wno-deprecated-declarations
13+ )
1014add_vmod_vsc(vmod_tinykvm VSC_vmod_kvm.vsc)
1115
1216# Compute tests
You can’t perform that action at this time.
0 commit comments