Skip to content

Commit

Permalink
ansible: fix h2load install on benchmark machines
Browse files Browse the repository at this point in the history
Use gcc 12 to compile h2load as latest nghttp2 does not compile
with gcc 11.

Refs: nghttp2/nghttp2#2194
  • Loading branch information
richardlau committed Jun 7, 2024
1 parent 7a2c88e commit 8f1892a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/benchmarking/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
shell: "autoreconf -i && automake && autoconf && ./configure --enable-app && make -j4"
args:
chdir: "/home/{{ server_user }}/nghttp2"
environment:
CC: gcc-12
CXX: g++-12

- name: Download wrk git repo
git:
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/benchmarking/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
packages:
- g++-12
- libc-ares-dev
- libcunit1-dev
- libev-dev
Expand Down

0 comments on commit 8f1892a

Please sign in to comment.