Skip to content

Commit c5438ae

Browse files
authored
chore: update pktvisor conan dependencies (#717)
* disable armv7 build * disable integration tests
1 parent 2e8ad34 commit c5438ae

13 files changed

Lines changed: 42 additions & 26 deletions

.github/workflows/build-develop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,8 @@ jobs:
490490
runs-on: ubuntu-latest
491491
outputs:
492492
runner_token: ${{ steps.token.outputs.runner }}
493-
if: github.event_name != 'pull_request'
493+
# if: github.event_name != 'pull_request'
494+
if: false # This job will never run
494495
steps:
495496
- name: Checkout
496497
uses: actions/checkout@v4

.github/workflows/build-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ jobs:
176176
outputs:
177177
runner_token: ${{ steps.token.outputs.runner }}
178178
runner_label: ${{ env.RUNNER_LABEL }}
179-
if: github.event_name != 'pull_request'
179+
# if: github.event_name != 'pull_request'
180+
if: false # This job will never run
180181
steps:
181182
- name: Checkout
182183
uses: actions/checkout@v4

.github/workflows/build_cross.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
cc: x86_64-linux-musl-gcc
2626
cxx: x86_64-linux-musl-g++
2727
ldflags: "-static"
28-
- arch: armv7lh # ARMv7 little-endian hard-float
29-
conan_arch: armv7hf
30-
toolchain: http://musl.cc/armv7l-linux-musleabihf-cross.tgz
31-
cc: armv7l-linux-musleabihf-gcc
32-
cxx: armv7l-linux-musleabihf-g++
28+
# - arch: armv7lh # ARMv7 little-endian hard-float
29+
# conan_arch: armv7hf
30+
# toolchain: http://musl.cc/armv7l-linux-musleabihf-cross.tgz
31+
# cc: armv7l-linux-musleabihf-gcc
32+
# cxx: armv7l-linux-musleabihf-g++
3333
- arch: aarch64
3434
conan_arch: armv8
3535
toolchain: http://musl.cc/aarch64-linux-musl-cross.tgz

conanfile.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
[requires]
2-
catch2/3.5.0
2+
catch2/3.6.0
33
corrade/2020.06
4-
cpp-httplib/0.14.3
4+
cpp-httplib/0.16.0
55
docopt.cpp/0.6.3
6-
fast-cpp-csv-parser/cci.20211104
6+
fast-cpp-csv-parser/cci.20240102
77
json-schema-validator/2.3.0
8-
libmaxminddb/1.8.0
8+
libmaxminddb/1.10.0
99
nlohmann_json/3.11.3
10-
openssl/1.1.1w
11-
opentelemetry-proto/1.0.0
10+
openssl/3.3.1
11+
opentelemetry-proto/1.3.0
1212
pcapplusplus/23.09
13-
protobuf/3.21.12
13+
abseil/20240116.2
14+
protobuf/5.27.0
1415
sigslot/1.2.2
15-
spdlog/1.12.0
16-
uvw/3.2.0
16+
spdlog/1.14.1
17+
uvw/3.4.0
1718
libpcap/1.10.4
1819
yaml-cpp/0.8.0
1920
robin-hood-hashing/3.11.5
20-
libcurl/8.5.0
21+
libcurl/8.9.1
2122
crashpad/cci.20220219
22-
zlib/[>=1.2.10 <1.3]
2323

2424
[tool_requires]
2525
corrade/2020.06
26-
protobuf/3.21.12
26+
protobuf/5.27.0
2727

2828
[options]
2929
pcapplusplus:immediate_mode=True

src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,16 @@ target_link_libraries(visor-core
4040
rng
4141
timer
4242
opentelemetry_proto
43+
${CONAN_LIBS_PROTOBUF}
44+
${CONAN_LIBS_ABSEIL}
4345
${CONAN_LIBS_LIBMAXMINDDB}
4446
${CONAN_LIBS_CORRADE}
4547
${CONAN_LIBS_SPDLOG}
4648
${CONAN_LIBS_FMT}
4749
${CONAN_LIBS_FAST-CPP-CSV-PARSER}
4850
${CONAN_LIBS_YAML-CPP}
4951
${CONAN_LIBS_OPENSSL}
52+
${CONAN_LIBS_ZLIB}
5053
${VISOR_STATIC_PLUGINS}
5154
)
5255

src/Metrics.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@
88
#include <timer.hpp>
99
#ifdef __GNUC__
1010
#pragma GCC diagnostic push
11+
#pragma GCC diagnostic ignored "-Wpedantic"
12+
#pragma GCC diagnostic ignored "-Woverflow"
1113
#pragma GCC diagnostic ignored "-Wold-style-cast"
1214
#pragma GCC diagnostic ignored "-Wunused-function"
1315
#pragma GCC diagnostic ignored "-Wunused-parameter"
1416
#pragma clang diagnostic ignored "-Wrange-loop-analysis"
17+
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
1518
#endif
1619
#include <cpc_sketch.hpp>
1720
#include <frequent_items_sketch.hpp>

src/OpenTelemetry.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,18 @@
55
#pragma once
66

77
#include "HttpServer.h"
8-
#include "opentelemetry/proto/collector/metrics/v1/metrics_service.pb.h"
98
#include <functional>
109
#include <timer.hpp>
10+
#ifdef __GNUC__
11+
#pragma GCC diagnostic push
12+
#pragma GCC diagnostic ignored "-Wpedantic"
13+
#pragma GCC diagnostic ignored "-Woverflow"
14+
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
15+
#endif
16+
#include "opentelemetry/proto/collector/metrics/v1/metrics_service.pb.h"
17+
#ifdef __GNUC__
18+
#pragma GCC diagnostic pop
19+
#endif
1120

1221
namespace visor {
1322

src/handlers/dns/v1/DnsStreamHandler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
44

55
#include "DnsStreamHandler.h"
6-
#include "DnstapInputStream.h"
76
#include "HandlerModulePlugin.h"
87
#include "utils.h"
98
#include <Corrade/Utility/Debug.h>

src/handlers/dns/v1/DnsStreamHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
#pragma once
66

77
#include "AbstractMetricsManager.h"
8+
#include "DnstapInputStream.h"
89
#include "GeoDB.h"
910
#include "MockInputStream.h"
1011
#include "PcapInputStream.h"
1112
#include "StreamHandler.h"
1213
#include "TransactionManager.h"
1314
#include "dns.h"
14-
#include "pb/dnstap.pb.h"
1515
#include <Corrade/Utility/Debug.h>
1616
#include <bitset>
1717
#include <limits>

src/handlers/dns/v2/DnsStreamHandler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
44

55
#include "DnsStreamHandler.h"
6-
#include "DnstapInputStream.h"
76
#include "HandlerModulePlugin.h"
87
#include "utils.h"
98
#include <Corrade/Utility/Debug.h>

0 commit comments

Comments
 (0)