mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Ship .ninja_log in llvm-build-stats package
This should make it easier to analyze which parts of the build are slow. The new package is only available in snapshot builds, we don't want to ship it in production.
This commit is contained in:
parent
4fea24b487
commit
481c78feb0
3 changed files with 18 additions and 0 deletions
|
@ -216,3 +216,8 @@ cd llvm
|
|||
%endif
|
||||
|
||||
#endregion
|
||||
|
||||
%if %{with snapshot_build}
|
||||
# Do this here instead of in install so the check targets are also included.
|
||||
cp %{_vpath_builddir}/.ninja_log %{buildroot}%{pkg_datadir}
|
||||
%endif
|
||||
|
|
|
@ -309,6 +309,11 @@
|
|||
%{install_includedir}/llvm-gtest
|
||||
%{install_includedir}/llvm-gmock
|
||||
|
||||
%if %{with snapshot_build}
|
||||
%files -n %{pkg_name_llvm}-build-stats
|
||||
%{pkg_datadir}/.ninja_log
|
||||
%endif
|
||||
|
||||
#endregion
|
||||
|
||||
#region CLANG files
|
||||
|
|
|
@ -80,6 +80,14 @@ LLVM's modified googletest sources.
|
|||
|
||||
%endif
|
||||
|
||||
%if %{with snapshot_build}
|
||||
%package -n %{pkg_name_llvm}-build-stats
|
||||
Summary: Statistics for the RPM build
|
||||
|
||||
%description -n %{pkg_name_llvm}-build-stats
|
||||
Statistics for the RPM build. Only available in snapshot builds.
|
||||
%endif
|
||||
|
||||
#endregion
|
||||
|
||||
#region CLANG packages
|
||||
|
|
Loading…
Reference in a new issue