aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-07-27 10:18:05 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-07-27 10:18:05 +0000
commiteaaa89b6a446485a06c63eaad94ed752ccae0bf9 (patch)
tree9e7cefdad9baa971b231f69e607509c510354847 /fdio.infra.ansible/roles
parent9c926fdd75cc1d65faa1ee50ce9133e754fdd498 (diff)
fix(ansible): QAT installation
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I48084f28070126561de630332e7b6f38f6e595ac
Diffstat (limited to 'fdio.infra.ansible/roles')
-rw-r--r--fdio.infra.ansible/roles/intel/defaults/main.yaml5
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/qat.yaml3
2 files changed, 6 insertions, 2 deletions
diff --git a/fdio.infra.ansible/roles/intel/defaults/main.yaml b/fdio.infra.ansible/roles/intel/defaults/main.yaml
index 8dfbe285da..56696a5467 100644
--- a/fdio.infra.ansible/roles/intel/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/intel/defaults/main.yaml
@@ -32,9 +32,10 @@ packages_by_distro:
- "gnupg"
- "patch"
- "patchutils"
-# - "libboost-all-dev"
+ - "libboost-dev"
+ - "libboost-regex-dev"
# - "libudev-dev"
-# - "yasm"
+ - "yasm"
packages_by_arch:
aarch64:
diff --git a/fdio.infra.ansible/roles/intel/tasks/qat.yaml b/fdio.infra.ansible/roles/intel/tasks/qat.yaml
index 6854755f4e..10dab99dc8 100644
--- a/fdio.infra.ansible/roles/intel/tasks/qat.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/qat.yaml
@@ -35,6 +35,9 @@
chdir: "{{ intel_extract_dir }}/QAT20.L.{{ qat }}"
become: true
with_items:
+ - "wget http://security.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_249.11-0ubuntu3.7_amd64.deb"
+ - "dpkg-deb -xv libudev-dev_249.11-0ubuntu3.9_amd64.deb ."
+ - "cp ./usr/include/libudev.h /usr/include/libudev.h"
- "./configure --enable-icp-sriov=host --enable-icp-sym-only"
- "make"
- "make install"