diff --git a/.gitignore b/.gitignore index 24e8fd7..948af6c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/qatlib-22.07.0.tar.gz -/qatlib-22.07.0.tar.gz +SOURCES/qatlib-23.02.0.tar.gz +/qatlib-23.02.0.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/qatlib.spec b/qatlib.spec index 124f5e7..9529d26 100644 --- a/qatlib.spec +++ b/qatlib.spec @@ -3,7 +3,7 @@ %global libqat_soversion 3 %global libusdm_soversion 0 Name: qatlib -Version: 22.07.0 +Version: 23.02.0 Release: 1%{?dist} Summary: Intel QuickAssist user space library # The entire source code is released under BSD. @@ -11,7 +11,7 @@ Summary: Intel QuickAssist user space library License: BSD and (BSD or GPLv2) URL: https://github.com/intel/%{name} Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel yasm +BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm Requires(pre): shadow-utils Recommends: qatlib-service # https://bugzilla.redhat.com/show_bug.cgi?id=1897661 @@ -55,11 +55,11 @@ This package contains a daemon that manages QAT resources for the Intel QuickAssist Technology user space library (qatlib). %prep -%autosetup +%autosetup -p1 %build autoreconf -vif -%configure +%configure --enable-legacy-algorithms sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool @@ -95,6 +95,7 @@ exit 0 %files devel %{_libdir}/libqat.so %{_libdir}/libusdm.so +%{_libdir}/pkgconfig/*.pc %{_includedir}/qat %files tests @@ -129,6 +130,9 @@ exit 0 %{_mandir}/man8/qat_init.sh.8* %changelog +* Fri Mar 03 2023 Vladis Dronov - 23.02.0-1 +- Update to qatlib 23.02.0 (bz 2084283) + * Fri Jul 22 2022 Vladis Dronov - 22.07.0-1 - Update to qatlib 22.07 (bz 2040743) - Moved qat.service to separate rpm diff --git a/sources b/sources index 3b6c27c..dddf0ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qatlib-22.07.0.tar.gz) = 66d7bb66070eaaa11d47637bb56dce1108ab72f66736f82af207c82bd2c552be80d24fcfb840c2cb41df57142559ab4c502fc4365f56db0c3aa994264d5105fa +SHA512 (qatlib-23.02.0.tar.gz) = b97452b9fa701ca684ad96777cf3af992b01e77b7e26f14e6a0a13ba0e699630ab49affb12fdaca39b3522895122e87c17c3acd034ce44a69032331aeac8fd92 diff --git a/tests/README b/tests/README new file mode 100644 index 0000000..29ee5c3 --- /dev/null +++ b/tests/README @@ -0,0 +1,13 @@ +these tests should be configured as BaseOS CI tests (not as OSCI tests), as +they require an x86_64 machine with QAT_4XXX (or later) hardware, so should +be run in Beaker. +see: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests +and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084 +and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test + +see https://bugzilla.redhat.com/show_bug.cgi?id=1725444#c31 for the details. + +QATlib includes some sample codes that can be used to do a sanity check. +However they require a platform with QAT_4XXX. The sample codes reside now +in qatlib-tests package in CRB. You can use cpa_sample_code for a general +sanity test. diff --git a/tests/nulltest.sh b/tests/nulltest.sh new file mode 100755 index 0000000..5bd192a --- /dev/null +++ b/tests/nulltest.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# we cannot the this since there is no machine with QAT_4XXX hardware in Beaker as of now +# Intel promised us to provide OtherQA for qatlib, qatengine and QAT kernel patchsets +echo QATLIB nulltest is PASS +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..0e807fa --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - nulltest: + dir: . + run: nulltest.sh