Skip to content

Commit f0df1d1

Browse files
authored
Update Arm and ICPX images to Ubuntu 26.04 (#2185)
1 parent ab9ad1d commit f0df1d1

3 files changed

Lines changed: 18 additions & 16 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
@@ -88,9 +91,6 @@ jobs:
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

.github/workflows/package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ jobs:
3131
- runner: ubuntu-latest
3232
image: ubuntu2604
3333
config-zstd: OFF
34-
- runner: ubuntu-latest
35-
image: ubuntu2404
34+
- runner: ubuntu-26.04-arm
35+
image: ubuntu2604-arm64
3636
config-zstd: OFF
37-
- runner: ubuntu-24.04-arm
38-
image: ubuntu2404-arm64
37+
- runner: ubuntu-latest
38+
image: ubuntu2604-icpx
3939
config-zstd: OFF
40+
additional-flags: -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
4041
- runner: ubuntu-latest
41-
image: ubuntu2204
42+
image: ubuntu2404
4243
config-zstd: OFF
4344
- runner: ubuntu-latest
44-
image: ubuntu2204-icpx
45+
image: ubuntu2204
4546
config-zstd: OFF
46-
additional-flags: -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx
4747
- runner: ubuntu-latest
4848
image: rhel94
4949
config-zstd: OFF

Examples/PcapPlusPlus-benchmark/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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}")

0 commit comments

Comments
 (0)