forked from altlinux/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscorep.spec
163 lines (121 loc) · 4.42 KB
/
scorep.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%global optflags_lto %optflags_lto -ffat-lto-objects
%define mpiimpl openmpi
%define mpidir %_libdir/%mpiimpl
Name: scorep
Version: 6.0
Release: alt3
Summary: Score-P (Scalable Performance Measurement Infrastructure for Parallel Codes)
License: BSD
Group: Development/Tools
Url: http://www.vi-hps.org/projects/score-p/
Source: %name-%version.tar
BuildRequires(pre): %mpiimpl-devel
BuildRequires: libotf2-devel opari2-devel libcube-devel libcubegui-devel
BuildRequires: libbfd-devel uncrustify doxygen libpapi-devel flex
BuildRequires: libcube-devel graphviz texlive-base-bin
BuildRequires: lockfile-progs binutils-devel otf2 libgomp-devel
BuildRequires: chrpath
%description
The Score-P (Scalable Performance Measurement Infrastructure for
Parallel Codes) measurement infrastructure is a highly scalable and
easy-to-use tool suite for profiling, event trace recording, and
online analysis of HPC applications.
%package -n lib%name
Summary: Development files of Score-P
Group: System/Libraries
%description -n lib%name
The Score-P (Scalable Performance Measurement Infrastructure for
Parallel Codes) measurement infrastructure is a highly scalable and
easy-to-use tool suite for profiling, event trace recording, and
online analysis of HPC applications.
%package -n lib%name-devel
Summary: Development files of Score-P
Group: Development/C++
Requires: %name = %EVR
%description -n lib%name-devel
The Score-P (Scalable Performance Measurement Infrastructure for
Parallel Codes) measurement infrastructure is a highly scalable and
easy-to-use tool suite for profiling, event trace recording, and
online analysis of HPC applications.
This package contains development files of Score-P.
%package -n lib%name-devel-static
Summary: Static libraries of Score-P
Group: Development/C++
Requires: lib%name-devel = %EVR
%description -n lib%name-devel-static
The Score-P (Scalable Performance Measurement Infrastructure for
Parallel Codes) measurement infrastructure is a highly scalable and
easy-to-use tool suite for profiling, event trace recording, and
online analysis of HPC applications.
This package contains static libraries of Score-P.
%package docs
Summary: Documentation for Score-P
Group: Documentation
BuildArch: noarch
%description docs
The Score-P (Scalable Performance Measurement Infrastructure for
Parallel Codes) measurement infrastructure is a highly scalable and
easy-to-use tool suite for profiling, event trace recording, and
online analysis of HPC applications.
This package contains documentation for Score-P.
%prep
%setup
# remove some vendored sources
rm -rf vendor/{cubelib,cubew,opari2,otf2}
%build
source %mpidir/bin/mpivars.sh
export OMPI_LDFLAGS="-Wl,--as-needed,-rpath,%mpidir/lib -L%mpidir/lib"
%autoreconf
%configure \
--with-mpi=openmpi \
--with-otf2 \
--with-opari2 \
--with-cubew \
--with-cubelib \
%nil
%make_build V=1
%install
source %mpidir/bin/mpivars.sh
export OMPI_LDFLAGS="-Wl,--as-needed,-rpath,%mpidir/lib -L%mpidir/lib"
%makeinstall_std
chrpath -d %buildroot%_bindir/scorep-score
# remove unneeded stuff
find %buildroot -type f -name libtool -print -delete
%files
%doc COPYING
%doc AUTHORS ChangeLog THANKS README OPEN_ISSUES
%_bindir/*
%exclude %_bindir/scorep-config
%_datadir/%name
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_bindir/scorep-config
%_includedir/*
%_libdir/*.so
%_libdir/scorep/*.o
%files -n lib%name-devel-static
%_libdir/*.a
%files docs
%_docdir/%name
%changelog
* Thu Sep 02 2021 Aleksei Nikiforov <[email protected]> 6.0-alt3
- Fixed build with LTO.
* Mon Dec 07 2020 Aleksei Nikiforov <[email protected]> 6.0-alt2
- Moved static libraries from lib%name-devel into lib%name-devel-static.
* Mon Sep 21 2020 Aleksei Nikiforov <[email protected]> 6.0-alt1
- Updated to upstream version 6.0.
* Wed Aug 01 2018 Aleksei Nikiforov <[email protected]> 3.1-alt2
- Updated build dependencies.
* Thu Sep 21 2017 Aleksei Nikiforov <[email protected]> 3.1-alt1
- Updated to upstream version 3.1.
* Thu Jul 10 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3-alt1.rc2
- Version 1.3-rc2
* Tue Jun 10 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt1
- Version 1.2.3
* Wed Nov 20 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.1-alt1
- Version 1.2.1
* Tue Sep 10 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2-alt1
- Initial build for Sisyphus