Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
6d19d0d428
!35 【轻量级 PR】:fix bad date in changelog
From: @zhangshaoning_uniontech 
Reviewed-by: @xqm227 
Signed-off-by: @xqm227
2024-08-21 01:56:20 +00:00
张少宁
5f3db088c4
fix bad date in changelog
Signed-off-by: 张少宁 <zhangshaoning@uniontech.com>
2024-06-17 05:34:40 +00:00
openeuler-ci-bot
a6d0338eb4
!31 update libkae
From: @lauyarn 
Reviewed-by: @realzhongkeyi 
Signed-off-by: @realzhongkeyi
2023-11-25 08:58:11 +00:00
lauyarn
696d35bc8b
deal rpatch check problem
Signed-off-by: lauyarn <liuyang.nb@outlook.com>
2023-11-25 08:22:27 +00:00
lauyarn
0683f1fc7f update libkae 2023-11-25 15:05:42 +08:00
openeuler-ci-bot
50347d67c1 !14 更新libkae1.3.10
From: @hz-wangfuqiang
Reviewed-by: @y00438221
Signed-off-by: @y00438221
2021-04-26 16:12:50 +08:00
hz-wangfuqiang
fb902dac74 更新libkae_1.3.10 2021-04-26 15:48:05 +08:00
hz-wangfuqiang
18e10bfffa 更新libkae_1.3.10 2021-04-26 15:25:08 +08:00
openeuler-ci-bot
3f5e018ccc !7 specify aarch64 compilation
Merge pull request !7 from zhangtao2020/zt_1
2020-03-15 14:40:47 +08:00
zhangtao2020
da6b903935 specify aarch64 complition 2020-03-15 13:20:11 +08:00
4 changed files with 58 additions and 4 deletions

View File

@ -0,0 +1,38 @@
From 04f80ac2c822543f130c30942560e4a3300f8481 Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Tue, 28 Jul 2020 09:41:05 +0800
Subject: [PATCH] Don't redefine gettid if glibc provides it
glibc 2.30+ include a definition for gettid() so that users don't have
to manually define gettid() with syscall().
Old code don't check this, this will redefine gettid() on the latest
versions of glibc, causing build fail.
Signed-off-by: lingsheng <lingsheng@huawei.com>
---
KAE/utils/engine_utils.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/KAE/utils/engine_utils.h b/KAE/utils/engine_utils.h
index 160e449..12a587e 100644
--- a/KAE/utils/engine_utils.h
+++ b/KAE/utils/engine_utils.h
@@ -28,7 +28,15 @@
#include <sys/types.h>
#include <sys/syscall.h>
+#if __GLIBC_PREREQ(2, 30)
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+#include <unistd.h>
+#else
#define gettid() syscall(SYS_gettid)
+#endif
+
#define PRINTPID \
US_DEBUG("pid=%d, ptid=%lu, tid=%d", getpid(), pthread_self(), gettid())
--
2.23.0

View File

@ -2,8 +2,8 @@
Name: libkae
Summary: Huawei Kunpeng Accelerator Engine
Version: 1.2.10
Release: 2
Version: 1.3.10
Release: 10
License: Apache-2.0
Source: %{name}-%{version}.tar.gz
Vendor: Huawei Corporation
@ -13,14 +13,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr/local/lib/engines-1.1
Conflicts: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
BuildRequires: libwd >= %{version} openssl-devel sed
BuildRequires: libwd openssl-devel sed chrpath
Requires: openssl
ExclusiveArch: aarch64
Patch0001: 0001-Don-t-redefine-gettid-if-glibc-provides-it.patch
%description
This package contains the Huawei Kunpeng Accelerator Engine
%prep
%setup -c -n %{name}-%{version}
%autosetup -c -n %{name}-%{version} -p1
%build
cd KAE
@ -30,6 +33,7 @@ make
%install
mkdir -p ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
chrpath -d KAE/libkae.so.%{version}
install -b -m755 KAE/libkae.so.%{version} ${RPM_BUILD_ROOT}/usr/local/lib/engines-1.1
%clean
@ -64,6 +68,18 @@ fi
/sbin/ldconfig
%changelog
* Sat Nov 25 2023 liuyang <liuyang645@huawei.com> 1.3.10-10
- update libkae to 1.3.10
* Thu Nov 19 2020 wuliaokanke <yuhongxiao@huawei.com> 1.3.9-1
- update libkae to 1.3.9
* Tue Jul 28 2020 lingsheng <lingsheng@huawei.com> 1.2.10-4
- Check glibc version to avoid redefine gettid()
* Sun Mar 15 2020 zhangtao <zhangtao221@huawei.com> 1.2.10-3
- Specify aarch64 compilation
* Tue Mar 03 2020 catastrowings <jianghuhao1994@163.com> 1.2.10-2
- openEuler init

Binary file not shown.

BIN
libkae-1.3.10.tar.gz Normal file

Binary file not shown.