File tree Expand file tree Collapse file tree
Examples/PcapPlusPlus-benchmark Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,17 +63,20 @@ jobs:
6363 - runner : ubuntu-latest
6464 image : ubuntu2604
6565 config-zstd : OFF
66+ - runner : ubuntu-26.04-arm
67+ image : ubuntu2604-arm64
68+ config-zstd : OFF
6669 - runner : ubuntu-latest
67- image : ubuntu2404
70+ image : ubuntu2604-icpx
6871 config-zstd : OFF
72+ additional-flags : -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
73+ additional-gcov-flags : --gcov-executable "llvm-cov gcov"
6974 - runner : ubuntu-latest
70- image : ubuntu2204
75+ image : ubuntu2404
7176 config-zstd : OFF
7277 - runner : ubuntu-latest
73- image : ubuntu2204-icpx
78+ image : ubuntu2204
7479 config-zstd : OFF
75- additional-flags : -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
76- additional-gcov-flags : --gcov-executable "llvm-cov gcov"
7780 - runner : ubuntu-latest
7881 image : rhel94
7982 config-zstd : OFF
8891 - runner : ubuntu-latest
8992 image : alpine320
9093 config-zstd : OFF
91- - runner : ubuntu-24.04-arm
92- image : ubuntu2404-arm64
93- config-zstd : OFF
9494
9595 steps :
9696 - name : Checkout code
Original file line number Diff line number Diff line change @@ -32,19 +32,19 @@ jobs:
3232 - runner : ubuntu-latest
3333 image : ubuntu2604
3434 config-zstd : OFF
35- - runner : ubuntu-latest
36- image : ubuntu2404
35+ - runner : ubuntu-26.04-arm
36+ image : ubuntu2604-arm64
3737 config-zstd : OFF
38- - runner : ubuntu-24.04-arm
39- image : ubuntu2404-arm64
38+ - runner : ubuntu-latest
39+ image : ubuntu2604-icpx
4040 config-zstd : OFF
41+ additional-flags : -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
4142 - runner : ubuntu-latest
42- image : ubuntu2204
43+ image : ubuntu2404
4344 config-zstd : OFF
4445 - runner : ubuntu-latest
45- image : ubuntu2204-icpx
46+ image : ubuntu2204
4647 config-zstd : OFF
47- additional-flags : -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
4848 - runner : ubuntu-latest
4949 image : rhel94
5050 config-zstd : OFF
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if("cxx_std_14" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
1313 include (FetchContent )
1414
1515 # Fetch Google Benchmark
16- FetchContent_Declare (benchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG v1.9.0 )
16+ FetchContent_Declare (benchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG v1.9.5 )
1717
1818 # Disable testing and installation for Google Benchmark
1919 set (BENCHMARK_ENABLE_TESTING OFF )
@@ -22,6 +22,8 @@ if("cxx_std_14" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
2222
2323 add_executable (BenchmarkExampleGoogle benchmark-google.cpp )
2424
25+ target_compile_definitions (BenchmarkExampleGoogle PRIVATE NOMINMAX )
26+
2527 target_link_libraries (BenchmarkExampleGoogle PUBLIC PcapPlusPlus::Pcap++ benchmark::benchmark )
2628
2729 set_target_properties (BenchmarkExampleGoogle PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PCAPPP_BINARY_EXAMPLES_DIR} " )
You can’t perform that action at this time.
0 commit comments