forked from intel/qatlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add QATlib release 21.05.0. Signed-off-by: Giovanni Cabiddu <[email protected]>
- Loading branch information
Showing
176 changed files
with
8,518 additions
and
4,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,6 +187,7 @@ lib@LIBQATNAME@_la_SOURCES = \ | |
quickassist/lookaside/access_layer/src/common/utils/sal_string_parse.c \ | ||
quickassist/lookaside/access_layer/src/common/utils/sal_user_process.c \ | ||
quickassist/lookaside/access_layer/src/common/utils/sal_versions.c \ | ||
quickassist/lookaside/access_layer/src/common/device/sal_dev_info.c \ | ||
quickassist/lookaside/access_layer/src/user/sal_user.c \ | ||
quickassist/lookaside/access_layer/src/user/sal_user_dyn_instance.c | ||
lib@LIBQATNAME@_la_CFLAGS = -I$(srcdir)/quickassist/utilities/libusdm_drv \ | ||
|
@@ -213,7 +214,7 @@ lib@LIBQATNAME@_la_LDFLAGS = -version-info $(LIBQAT_VERSION) \ | |
$(COMMON_LDFLAGS) \ | ||
-export-symbols-regex '^(cpa|icp_sal)' | ||
|
||
pkgincludedir = "$(includedir)/qat" | ||
pkgincludedir = $(includedir)/qat | ||
pkginclude_HEADERS = \ | ||
quickassist/include/cpa.h \ | ||
quickassist/include/cpa_types.h \ | ||
|
@@ -248,6 +249,10 @@ endif | |
systemd_scriptsdir = $(prefix)/sbin | ||
dist_systemd_scripts_SCRIPTS = quickassist/utilities/service/qat_init.sh | ||
|
||
install-exec-hook: | ||
cp -P $(DESTDIR)$(libdir)/lib@[email protected] $(DESTDIR)$(libdir)/lib@LIBQATNAME@-$(VERSION).so | ||
cp -P $(DESTDIR)$(libdir)/lib@[email protected] $(DESTDIR)$(libdir)/lib@LIBUSDMNAME@-$(VERSION).so | ||
|
||
install-data-hook: | ||
if SERVICE_AC | ||
if [ "$(shell id -u)" == 0 ]; then \ | ||
|
@@ -259,6 +264,8 @@ if SERVICE_AC | |
endif | ||
|
||
uninstall-hook: | ||
rm $(DESTDIR)$(libdir)/lib@LIBQATNAME@-$(VERSION).so | ||
rm $(DESTDIR)$(libdir)/lib@LIBUSDMNAME@-$(VERSION).so | ||
if SERVICE_AC | ||
if [ "$(shell id -u)" == 0 ]; then \ | ||
systemctl daemon-reload; \ | ||
|
@@ -304,7 +311,9 @@ COMMON_FLAGS = -Wformat \ | |
-fno-strict-overflow \ | ||
-fno-delete-null-pointer-checks \ | ||
-fwrapv \ | ||
-D MAX_MR_ROUND=$(MAX_MR) | ||
-D MAX_MR_ROUND=$(MAX_MR) \ | ||
-D _FILE_OFFSET_BITS=64 \ | ||
$(MCX16_CFLAGS) | ||
|
||
if ICP_DEBUG_AC | ||
ICP_DEBUG = 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([qatlib], [20.10.0], [[email protected]]) | ||
AC_INIT([qatlib], [21.05.0], [[email protected]]) | ||
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability foreign subdir-objects tar-pax]) | ||
|
||
AM_SILENT_RULES([yes]) | ||
|
@@ -11,7 +11,7 @@ AC_USE_SYSTEM_EXTENSIONS | |
AC_CONFIG_MACRO_DIRS([m4]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
|
||
AC_SUBST([LIBQAT_VERSION], [0:0:0]) | ||
AC_SUBST([LIBQAT_VERSION], [1:0:1]) | ||
AC_SUBST([LIBUSDM_VERSION], [0:0:0]) | ||
|
||
# Checks for programs. | ||
|
@@ -56,6 +56,20 @@ AC_FUNC_MMAP | |
AC_FUNC_STRNLEN | ||
AC_CHECK_FUNCS([alarm clock_gettime getpagesize gettimeofday memmove memset munmap select socket strerror strstr strtoul strtoull]) | ||
|
||
# Check if using gcc and if it supports mcx16 | ||
AS_IF([test "x$CC" = "xgcc"], | ||
[saved_cflags="$CFLAGS" | ||
CFLAGS=-mcx16 | ||
AC_MSG_CHECKING([whether $CC supports -mcx16]) | ||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], | ||
[AC_MSG_RESULT([yes])] | ||
[MCX16_CFLAGS="-mcx16"], | ||
[AC_MSG_RESULT([no])]) | ||
CFLAGS="$saved_cflags" | ||
AC_SUBST(MCX16_CFLAGS)], | ||
[] | ||
) | ||
|
||
# Check for systemd. | ||
AS_IF([test "x$PKGCONFIG" = "x"], | ||
[AC_MSG_ERROR(pkg-config not found.)], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{ | |
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel | ||
Requires(pre): shadow-utils | ||
# https://bugzilla.redhat.com/show_bug.cgi?id=1897661 | ||
ExcludeArch: %{arm} aarch64 %{power64} s390x | ||
ExcludeArch: %{arm} aarch64 %{power64} s390x i686 | ||
|
||
%{?systemd_requires} | ||
|
||
|
@@ -70,6 +70,8 @@ exit 0 | |
%license LICENSE* | ||
%{_libdir}/libqat.so.%{libqat_soversion}* | ||
%{_libdir}/libusdm.so.%{libusdm_soversion}* | ||
%{_libdir}/libqat-%{version}.so | ||
%{_libdir}/libusdm-%{version}.so | ||
%{_sbindir}/qatmgr | ||
%{_sbindir}/qat_init.sh | ||
%{_unitdir}/qat.service | ||
|
@@ -84,8 +86,22 @@ exit 0 | |
%exclude %{_libdir}/libusdm.la | ||
|
||
%changelog | ||
* Wed Apr 14 2021 Giovanni Cabiddu <[email protected]> - 21.05.0-1 | ||
- Update to qatlib 21.05 | ||
|
||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <[email protected]> - 20.10.0-4 | ||
- Rebuilt for updated systemd-rpm-macros | ||
See https://pagure.io/fesco/issue/2583. | ||
|
||
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 20.10.0-3 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild | ||
|
||
* Mon Dec 14 2020 Giovanni Cabiddu <[email protected]> - 20.10.0-2 | ||
- Add ExcludeArch i686 | ||
|
||
* Mon Nov 16 2020 Giovanni Cabiddu <[email protected]> - 20.10.0-1 | ||
- Update to qatlib 20.10 | ||
- Fixes to spec to address comments from Fedora review | ||
|
||
* Mon Aug 10 2020 Mateusz Polrola <[email protected]> - 20.08.0-1 | ||
- Initial version of the package |
Oops, something went wrong.