]>
Commit | Line | Data |
---|---|---|
cffb6e24 JB |
1 | Summary: PLUTO automatic parallelizer |
2 | Summary(pl.UTF-8): PLUTO - automatyczny zrównoleglacz | |
3 | Name: pluto | |
78230f28 JB |
4 | Version: 0.11.4 |
5 | Release: 1 | |
cffb6e24 JB |
6 | License: LGPL v2.1+ (library), GPL v3+ (tools) |
7 | Group: Libraries | |
8 | Source0: http://downloads.sourceforge.net/pluto-compiler/%{name}-%{version}.tar.gz | |
78230f28 | 9 | # Source0-md5: 2ad2e3305ea480b1c2aefd2cc90f38a1 |
cffb6e24 JB |
10 | Patch0: %{name}-system-libs.patch |
11 | Patch1: %{name}-updates.patch | |
9b23d99d | 12 | Patch2: %{name}-include.patch |
78230f28 | 13 | Patch3: %{name}-link.patch |
cffb6e24 JB |
14 | URL: http://pluto-compiler.sourceforge.net/ |
15 | BuildRequires: autoconf >= 2.50 | |
16 | BuildRequires: automake | |
17 | BuildRequires: candl-devel >= 0.6.2-1.20120728 | |
78230f28 | 18 | BuildRequires: clan-devel >= 0.8.0 |
cffb6e24 JB |
19 | BuildRequires: gcc >= 6:4.2 |
20 | BuildRequires: isl-devel >= 0.13 | |
21 | BuildRequires: libgomp-devel | |
22 | BuildRequires: libtool | |
78230f28 | 23 | BuildRequires: osl-devel >= 0.9.0 |
cffb6e24 JB |
24 | BuildRequires: piplib-devel >= 1.4.0 |
25 | BuildRequires: polylib-devel >= 5.22.5 | |
26 | Requires: candl >= 0.6.2-1.20120728 | |
78230f28 | 27 | Requires: clan >= 0.8.0 |
cffb6e24 | 28 | Requires: isl >= 0.13 |
78230f28 | 29 | Requires: osl >= 0.9.0 |
cffb6e24 JB |
30 | Requires: piplib >= 1.4.0 |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | PLUTO is an automatic source-to-source transformer that can optimize | |
35 | nested loop sequences for coarse-grained parallelism and cache | |
36 | locality simultaneously. OpenMP parallel code for multicores can be | |
37 | generated from regular C program sections. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | PLUTO to automatyczne narzędzie operujące na kodzie źródłowy, | |
41 | potrafiące optymalizować sekwencje zagnieżdżonych pętli pod kątem | |
42 | zrównoleglenia i lokalizacji pamięci podręcznej. Można generować kod | |
43 | równoległy OpenMP ze zwykłych sekcji programu w C. | |
44 | ||
45 | %package devel | |
46 | Summary: Header files for Pluto library | |
47 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Pluto | |
48 | Group: Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | Requires: candl-devel >= 0.6.2-1.20120728 | |
78230f28 | 51 | Requires: clan-devel >= 0.8.0 |
cffb6e24 JB |
52 | Requires: isl-devel >= 0.13 |
53 | Requires: libgomp-devel | |
78230f28 | 54 | Requires: osl-devel >= 0.9.0 |
cffb6e24 JB |
55 | Requires: piplib-devel >= 1.4.0 |
56 | ||
57 | %description devel | |
58 | Header files for Pluto library. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki nagłówkowe biblioteki Pluto. | |
62 | ||
63 | %package static | |
64 | Summary: Static Pluto library | |
65 | Summary(pl.UTF-8): Statyczna biblioteka Pluto | |
66 | Group: Development/Libraries | |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
70 | Static Pluto library. | |
71 | ||
72 | %description static -l pl.UTF-8 | |
73 | Statyczna biblioteka Pluto. | |
74 | ||
75 | %prep | |
76 | %setup -q | |
77 | %patch0 -p1 | |
78 | %patch1 -p1 | |
9b23d99d | 79 | %patch2 -p1 |
78230f28 | 80 | %patch3 -p1 |
cffb6e24 JB |
81 | |
82 | %build | |
83 | %{__libtoolize} | |
84 | %{__aclocal} -I m4 | |
85 | %{__autoconf} | |
86 | %{__autoheader} | |
87 | %{__automake} | |
88 | %configure \ | |
89 | --disable-silent-rules | |
90 | %{__make} | |
91 | ||
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %{__make} install \ | |
96 | DESTDIR=$RPM_BUILD_ROOT | |
97 | ||
98 | # installed by mistake | |
99 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/getversion.sh | |
100 | ||
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %post -p /sbin/ldconfig | |
105 | %postun -p /sbin/ldconfig | |
106 | ||
107 | %files | |
108 | %defattr(644,root,root,755) | |
109 | %doc ACKS AUTHORS ChangeLog README | |
110 | %attr(755,root,root) %{_bindir}/ploog | |
111 | %attr(755,root,root) %{_bindir}/plorc | |
112 | %attr(755,root,root) %{_bindir}/pluto | |
113 | %attr(755,root,root) %{_bindir}/plutune | |
114 | %attr(755,root,root) %{_bindir}/polycc | |
115 | %attr(755,root,root) %{_bindir}/vloog | |
116 | %attr(755,root,root) %{_libdir}/libpluto.so.*.*.* | |
117 | %attr(755,root,root) %ghost %{_libdir}/libpluto.so.0 | |
118 | ||
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
121 | %doc doc/{DOC.txt,pluto.bib} | |
122 | %attr(755,root,root) %{_libdir}/libpluto.so | |
123 | %{_libdir}/libpluto.la | |
124 | %{_includedir}/pluto | |
125 | ||
126 | %files static | |
127 | %defattr(644,root,root,755) | |
128 | %{_libdir}/libpluto.a |