1 Summary: PLUTO automatic parallelizer
2 Summary(pl.UTF-8): PLUTO - automatyczny zrównoleglacz
6 License: LGPL v2.1+ (library), GPL v3+ (tools)
8 # monitor also https://github.com/bondhugula/pluto/releases
9 Source0: http://downloads.sourceforge.net/pluto-compiler/%{name}-%{version}.tar.gz
10 # Source0-md5: 2ad2e3305ea480b1c2aefd2cc90f38a1
11 Patch0: %{name}-system-libs.patch
12 Patch1: %{name}-updates.patch
13 Patch2: %{name}-include.patch
14 Patch3: %{name}-link.patch
15 URL: http://pluto-compiler.sourceforge.net/
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: candl-devel >= 0.6.2-1.20120728
19 BuildRequires: clan-devel >= 0.8.0
20 BuildRequires: cloog-isl-devel >= 0.19.0
21 BuildRequires: gcc >= 6:4.2
22 BuildRequires: isl-devel >= 0.13
23 BuildRequires: libgomp-devel
24 BuildRequires: libtool
25 BuildRequires: osl-devel >= 0.9.0
26 BuildRequires: piplib-devel >= 1.4.0
27 BuildRequires: polylib-devel >= 5.22.5
28 Requires: candl >= 0.6.2-1.20120728
29 Requires: clan >= 0.8.0
30 Requires: cloog-isl-libs >= 0.19.0
32 Requires: osl >= 0.9.0
33 Requires: piplib >= 1.4.0
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 PLUTO is an automatic source-to-source transformer that can optimize
38 nested loop sequences for coarse-grained parallelism and cache
39 locality simultaneously. OpenMP parallel code for multicores can be
40 generated from regular C program sections.
42 %description -l pl.UTF-8
43 PLUTO to automatyczne narzędzie operujące na kodzie źródłowy,
44 potrafiące optymalizować sekwencje zagnieżdżonych pętli pod kątem
45 zrównoleglenia i lokalizacji pamięci podręcznej. Można generować kod
46 równoległy OpenMP ze zwykłych sekcji programu w C.
49 Summary: Header files for Pluto library
50 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Pluto
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Requires: candl-devel >= 0.6.2-1.20120728
54 Requires: clan-devel >= 0.8.0
55 Requires: cloog-isl-devel >= 0.19.0
56 Requires: isl-devel >= 0.13
57 Requires: libgomp-devel
58 Requires: osl-devel >= 0.9.0
59 Requires: piplib-devel >= 1.4.0
62 Header files for Pluto library.
64 %description devel -l pl.UTF-8
65 Pliki nagłówkowe biblioteki Pluto.
68 Summary: Static Pluto library
69 Summary(pl.UTF-8): Statyczna biblioteka Pluto
70 Group: Development/Libraries
71 Requires: %{name}-devel = %{version}-%{release}
76 %description static -l pl.UTF-8
77 Statyczna biblioteka Pluto.
93 --disable-silent-rules
95 OPT_FLAGS="%{rpmcflags}"
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 # installed by mistake
104 %{__rm} $RPM_BUILD_ROOT%{_bindir}/getversion.sh
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc ACKS AUTHORS ChangeLog README
115 %attr(755,root,root) %{_bindir}/ploog
116 %attr(755,root,root) %{_bindir}/plorc
117 %attr(755,root,root) %{_bindir}/pluto
118 %attr(755,root,root) %{_bindir}/plutune
119 %attr(755,root,root) %{_bindir}/polycc
120 %attr(755,root,root) %{_bindir}/vloog
121 %attr(755,root,root) %{_libdir}/libpluto.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libpluto.so.0
125 %defattr(644,root,root,755)
126 %doc doc/{DOC.txt,pluto.bib}
127 %attr(755,root,root) %{_libdir}/libpluto.so
128 %{_libdir}/libpluto.la
132 %defattr(644,root,root,755)
133 %{_libdir}/libpluto.a