-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopari2.spec
113 lines (81 loc) · 3.43 KB
/
opari2.spec
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
%global shortname opari2
%global ver 2.0
%?altcc_init
Name: %{shortname}%{?altcc_pkg_suffix}
Version: %{ver}
Release: 1%{?dist}
Summary: An OpenMP runtime performance measurement instrumenter
License: BSD
URL: http://www.vi-hps.org/projects/score-p/
Source0: http://www.vi-hps.org/upload/packages/%{shortname}/%{shortname}-%{version}.tar.gz
Source1: %{shortname}.module.in
%?altcc_reqmodules
%?altcc_provide
%description
OPARI2 is a source-to-source instrumentation tool for OpenMP and hybrid
codes. It surrounds OpenMP directives and runtime library calls with calls
to the POMP2 measurement interface.
OPARI2 will provide you with a new initialization method that allows for
multi-directory and parallel builds as well as the usage of pre-instrumented
libraries. Furthermore, an efficient way of tracking parent-child
relationships was added. Additionally, we extended OPARI2 to support
instrumentation of OpenMP 3.0 tied tasks.
%prep
%setup -q -n %{shortname}-%{version}
%build
%configure --disable-static --disable-silent-rules --with-platform=linux \
%{?altcc:--with-compiler-suite=%{altcc_cc_name}}
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -name '*.la' -delete -print
find %{buildroot}%{_defaultdocdir}/%{shortname}/example* -name '*.a' -delete -print
# Avoid duplicated filelist with %%doc
cp -p AUTHORS ChangeLog README %{buildroot}%{_defaultdocdir}/%{shortname}/
%{?altcc:%altcc_doc}
%{?altcc:%altcc_license}
%{?altcc:%altcc_writemodule %SOURCE1}
%check
make check
%files
%{?altcc:%altcc_files -dlm %{_bindir} %{_libexecdir} %{_includedir}}
%license COPYING
%{_bindir}/%{shortname}
%{_bindir}/%{shortname}-config
%{_libexecdir}/pomp2-parse-init-regions.awk
%{_includedir}/%{shortname}/
%{_defaultdocdir}/%{shortname}/
%{_datadir}/%{shortname}/
%changelog
* Fri Apr 15 2016 Orion Poplawski <[email protected]> - 2.0-1
- Update to 2.0
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 1.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Orion Poplawski <[email protected]> - 1.1.4-7
- Update to 1.1.4
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 1.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri May 8 2015 Orion Poplawski <[email protected]> - 1.1.3-1
- Update to 1.1.3
* Sat May 02 2015 Kalev Lember <[email protected]> - 1.1.2-6
- Rebuilt for GCC 5 C++11 ABI change
* Sun Aug 17 2014 Fedora Release Engineering <[email protected]> - 1.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 1.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Feb 28 2014 Orion Poplawski <[email protected]> - 1.1.2-3
- Add %%check
- Disable silent build
* Wed Feb 26 2014 Orion Poplawski <[email protected]> - 1.1.2-2
- Spec cleanup
* Wed Feb 26 2014 Orion Poplawski <[email protected]> - 1.1.2-1
- Update to 1.1.2
* Sun Oct 6 2013 Orion Poplawski <[email protected]> - 1.1.1-2
- Drop -devel sub-package
- New summary
* Wed Sep 25 2013 Orion Poplawski <[email protected]> - 1.1.1-1
- Update to 1.1.1
* Mon Apr 15 2013 Orion Poplawski <[email protected]> - 1.0.7-2
- Add patch to put awk script into libexecdir
* Wed Apr 3 2013 Orion Poplawski <[email protected]> - 1.0.7-1
- Initial package