blob: 63a92472a7722ad7ba094f6bc71ef7c3e28fa8f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
Name: gc
Version: 8.2.6
Release: 2
Summary: A garbage collector for C and C++
License: BSD-3-Clause
Url: http://www.hboehm.info/gc/
Source0: https://github.com/ivmai/bdwgc/releases/download/v%{version}/gc-%{version}.tar.gz
Patch1: gc-8.0.6-sw.patch
Patch2: 0001-add-loongarch-architecture.patch
BuildRequires: gcc-c++
BuildRequires: autoconf automake libtool
BuildRequires: pkgconfig(atomic_ops)
%description
The Boehm-Demers-Weiser conservative garbage collector can be
used as a garbage collecting replacement for C malloc or C++ new.
%package devel
Summary: Libraries and header files for %{name} development
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
# refresh auto*/libtool to purge rpaths
rm -f libtool libtool.m4
autoreconf -i -f
# See https://bugzilla.redhat.com/show_bug.cgi?id=689877
CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
%configure \
--disable-static \
--disable-docs \
--enable-cplusplus \
--enable-large-config \
--enable-threads=posix
%{make_build}
%install
%{make_install}
%delete_la
install -p -D -m644 doc/gc.man %{buildroot}%{_mandir}/man3/gc.3
## Delete unpackaged files
rm -rfv %{buildroot}%{_datadir}/gc/
%check
%make_build check
%files
%doc AUTHORS ChangeLog README.md
%{_libdir}/libcord.so.1*
%{_libdir}/libgc.so.1*
%{_libdir}/libgccpp.so.1*
%{_libdir}/libgctba.so.1*
%files devel
%doc doc/README.environment doc/README.linux
%{_includedir}/gc.h
%{_includedir}/gc_cpp.h
%{_includedir}/gc
%{_libdir}/libcord.so
%{_libdir}/libgc.so
%{_libdir}/libgccpp.so
%{_libdir}/libgctba.so
%{_libdir}/pkgconfig/bdw-gc.pc
%{_mandir}/man3/gc.3*
%changelog
* Thu Aug 15 2024 Funda Wang <fundawang@yeah.net> - 8.2.6-2
- move libgctba.so into devel package
- build against system atomic_ops
* Wed Jul 24 2024 dillon chen <dillon.chen@gmail.com> - 8.2.6-1
- Updade to 8.2.6
* Sun Oct 8 2023 huyubiao <huyubiao@huawei.com> - 8.2.4-1
- Update gc to 8.2.4
* Thu Feb 2 2023 huyubiao <huyubiao@huawei.com> - 8.2.2-1
- Update gc to 8.2.2
* Mon Nov 21 2022 doupengda <doupengda@loongson.cn> - 8.0.6-4
- add loongarch64 support
* Mon Nov 14 2022 wuzx<wuzx1226@qq.com> - 8.0.6-3
- Type:feature
- CVE:NA
- SUG:NA
- DESC:Add sw64 architecture
* Tue Oct 18 2022 Liu Zixian <liuzixian4@huawei.com> - 8.0.6-2
- Type:cleancode
- ID:NA
- SUG:NA
- DESC:Remove unused BuildRequires
* Thu Dec 2 2021 wangjie <wangjie375@huawei.com> - 8.0.6-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Update gc to 8.0.6
* Thu Jul 22 2021 wangchen<wangchen137@huawei.com> - 8.0.4-4
- Deleta unnecessary gdb from BuildRequires
* Fri Jun 4 2021 panxiaohe<panxiaohe@huawei.com> - 8.0.4-3
- add gcc-c++ to BuildRequires to use c++ command
* Sat Mar 14 2020 shenyangyang<shenyangyang4@huawei.com> - 8.0.4-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add build requires of gdb
* Tue Nov 5 2019 shenyangyang<shenyangyang4@huawei.com> - 8.0.4-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update gc to 8.0.4 to solve build problem of guile
* Wed Sep 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.6.12-2
- Modify license
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.6.12-1
- Package init
|