Compare commits
10 Commits
835439ef12
...
b7c694d5de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7c694d5de | ||
|
|
e265ecab95 | ||
|
|
d4d3e5d374 | ||
|
|
ab219c5c6a | ||
|
|
d826e927ce | ||
|
|
35d54c7d71 | ||
|
|
f0f1018510 | ||
|
|
877dc2e948 | ||
|
|
d83a0a62e6 | ||
|
|
de9e42861f |
BIN
0.7.1.tar.gz
Normal file
BIN
0.7.1.tar.gz
Normal file
Binary file not shown.
31
ck-Add-sw64-architecture.patch
Normal file
31
ck-Add-sw64-architecture.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 679ff9ab9246f8b7463b9fc4eac9476eda5276df Mon Sep 17 00:00:00 2001
|
||||||
|
From: wzx <wuzx1226@qq.com>
|
||||||
|
Date: Wed, 9 Nov 2022 14:27:40 +0800
|
||||||
|
Subject: [PATCH] Add sw64 architecture
|
||||||
|
|
||||||
|
Signed-off-by: wzx <wuzx1226@qq.com>
|
||||||
|
---
|
||||||
|
configure | 7 +++++++
|
||||||
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/configure b/configure
|
||||||
|
index 340e05c..6941c13 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -407,6 +407,13 @@ if test "x$PLATFORM" = "x"; then
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $PLATFORM in
|
||||||
|
+ "sw_64")
|
||||||
|
+ RTM_ENABLE="CK_MD_RTM_DISABLE"
|
||||||
|
+ MM="${MM:-"CK_MD_RMO"}"
|
||||||
|
+ PLATFORM=sw_64
|
||||||
|
+ ENVIRONMENT=64
|
||||||
|
+ ;;
|
||||||
|
+
|
||||||
|
"macppc"|"Power Macintosh"|"powerpc"|"powerpcspe")
|
||||||
|
RTM_ENABLE="CK_MD_RTM_DISABLE"
|
||||||
|
LSE_ENABLE="CK_MD_LSE_DISABLE"
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
73
ck.spec
Normal file
73
ck.spec
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
Name: ck
|
||||||
|
Version: 0.7.1
|
||||||
|
Release: 2
|
||||||
|
Summary: Concurrency programming lib
|
||||||
|
License: BSD
|
||||||
|
URL: http://concurrencykit.org/
|
||||||
|
Source0: https://github.com/concurrencykit/%{name}/archive/refs/tags/%{version}.tar.gz
|
||||||
|
Patch1: ck-Add-sw64-architecture.patch
|
||||||
|
|
||||||
|
BuildRequires: gcc autoconf automake
|
||||||
|
|
||||||
|
%description
|
||||||
|
Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Concurrency programming devel package
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}/
|
||||||
|
%ifarch sw_64
|
||||||
|
%patch1 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
|
./configure --libdir=%{_libdir} --includedir=%{_includedir}/%{name} --mandir=%{_mandir} --prefix=%{_prefix}
|
||||||
|
%ifarch sw_64
|
||||||
|
cp build/ck.build.aarch64 build/ck.build.sw_64
|
||||||
|
%endif
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm %{buildroot}%{_libdir}/libck.a
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%preun
|
||||||
|
%post
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/libck.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/libck.so
|
||||||
|
%{_mandir}/*
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 0.7.1-2
|
||||||
|
- add sw64 patch
|
||||||
|
|
||||||
|
* Sun Sep 04 2022 tianlijing <tianlijing@kylinos.cn> - 0.7.1-1
|
||||||
|
- update to 0.7.1
|
||||||
|
|
||||||
|
* Tue Sep 07 2021 lingsheng <lingsheng@huawei.com> - 0.6.0-2
|
||||||
|
- Set CFLAGS to build debug related rpm
|
||||||
|
|
||||||
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com> - 0.6.0-1
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user